Fix Nginx http.conf
This commit is contained in:
parent
989d6b2d0f
commit
2caf28a9b6
|
@ -9,11 +9,11 @@ server {
|
||||||
# Display an explanation page
|
# Display an explanation page
|
||||||
error_page 403 @http403;
|
error_page 403 @http403;
|
||||||
location @http403 {
|
location @http403 {
|
||||||
root /srv/niver/php/errors;
|
root /srv/niver/errors;
|
||||||
try_files /http.php =500;
|
try_files /http.php =500;
|
||||||
index http.php;
|
index http.php;
|
||||||
fastcgi_split_path_info ^(.+\.php)(/.+)$;
|
fastcgi_split_path_info ^(.+\.php)(/.+)$;
|
||||||
fastcgi_pass unix:/run/php-fpm/errors.sock;
|
fastcgi_pass unix:/run/php-fpm/niver.sock;
|
||||||
include inc/fastcgi.conf;
|
include inc/fastcgi.conf;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue