Fix Nginx http.conf

This commit is contained in:
Miraty 2022-09-02 18:52:03 +02:00
parent 989d6b2d0f
commit 2caf28a9b6
1 changed files with 2 additions and 2 deletions

View File

@ -9,11 +9,11 @@ server {
# Display an explanation page
error_page 403 @http403;
location @http403 {
root /srv/niver/php/errors;
root /srv/niver/errors;
try_files /http.php =500;
index http.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;
}