Hi
something messed with my locations.conf, servers.conf and fastcgi_params. And now the GUI is no longer working.
While I can figure out which entries are duplicated and remove them, I do not understand how the first entries of locations.conf are supposed to look like. Are these files backuped anywhere?
I cannot stop nginx with
nginx -s stop
I get this error:
nginx: [emerg] "fastcgi_pass" directive is not allowed here in /etc/nginx/fastcgi_params:27
Wonder also were it comes from.
This is obviously not right:
#
# Default start page
#
location = / {
return 302 $scheme://$http_host/Main;
}
limit_req zone=authlimit burst=20 nodelay;
try_files /login.php =404;
include fastcgi_params;
}
location /logout {
allow all;
try_files /login.php =404;
include fastcgi_params;
}
Once I have it back working, I need to figure out what caused it. Currentl I have no idea.
Update: After a reboot, which I wanted to avoid, things were back to normal.
However, I still wondering what can cause such an effect.
fastcgi_params locations.conf servers.conf