Zabbix 3.4和Nginx Admin登录失败(仅限访客)



incomeing -lemp(ubuntu 16.04/nginx/php7.0/mysql)

我在这里是新手,需要您的帮助

我有一个有关与nginx设置后与zabbix管理页面的连接的问题。成功设置Zabbix服务器后,我从下面的链接中接收页面

http://prntscr.com/glp8yg

我认为问题是Nginx设置

您能帮助我使用正确的NGINX代码吗?我是nginx

的新手

我的nginx/etc/nginx/sites-enabled/zabbix配置您可以在下面找到

    server {listen 443 ssl http2 default_server;
    server_name MY_SERVER_IP;
    ssl_certificate /etc/ssl/my_cert.crt;
    ssl_certificate_key /etc/ssl/my_key.key;
    root /usr/share/zabbix;
    index index.php index.html;
    location ~ .php$ {
    include snippets/fastcgi-php.conf;
    fastcgi_pass unix:/run/php/php7.0-fpm.sock;
    }
    location / {
    try_files $uri $uri/ index.php?$args;
    }}

请帮助我我是新手

解决:我更改了参数cgi.fix_pathinfo =从0到1 in/etc/php/7.0.0.0/fpm/php.ini,然后重新启动PHP,现在可以正常工作

您可以尝试用户:admin密码:带有浏览器chrome和firefox的zabbix。

nb:不使用Internet Explorer浏览器。用户:管理员不是用户:管理员

最新更新