changes
This commit is contained in:
+1
-1
@@ -145,7 +145,7 @@ server {
|
|||||||
fastcgi_param modHeadersAvailable true; # Avoid sending the security headers twice
|
fastcgi_param modHeadersAvailable true; # Avoid sending the security headers twice
|
||||||
fastcgi_param front_controller_active true; # Enable pretty urls
|
fastcgi_param front_controller_active true; # Enable pretty urls
|
||||||
#fastcgi_pass php-handler;
|
#fastcgi_pass php-handler;
|
||||||
fastcgi_pass unix:/run/php/php8.0-fpm.sock;
|
fastcgi_pass unix:/run/php/php8.1-fpm.sock;
|
||||||
|
|
||||||
fastcgi_intercept_errors on;
|
fastcgi_intercept_errors on;
|
||||||
fastcgi_request_buffering off;
|
fastcgi_request_buffering off;
|
||||||
|
|||||||
+1
-1
@@ -84,7 +84,7 @@ server {
|
|||||||
# then Nginx will encounter an infinite rewriting loop when it prepends `/index.php`
|
# then Nginx will encounter an infinite rewriting loop when it prepends `/index.php`
|
||||||
# to the URI, resulting in a HTTP 500 error response.
|
# to the URI, resulting in a HTTP 500 error response.
|
||||||
location ~ \.php(?:$|/) {
|
location ~ \.php(?:$|/) {
|
||||||
fastcgi_pass unix:/run/php/php8.0-fpm.sock;
|
fastcgi_pass unix:/run/php/php8.1-fpm.sock;
|
||||||
fastcgi_split_path_info ^(.+?\.php)(/.*)$;
|
fastcgi_split_path_info ^(.+?\.php)(/.*)$;
|
||||||
set $path_info $fastcgi_path_info;
|
set $path_info $fastcgi_path_info;
|
||||||
|
|
||||||
|
|||||||
@@ -52,11 +52,6 @@ server {
|
|||||||
try_files $uri $uri/ /index.php?q=$uri&$args;
|
try_files $uri $uri/ /index.php?q=$uri&$args;
|
||||||
}
|
}
|
||||||
|
|
||||||
#location /filtron {
|
|
||||||
# root /var/www/vhosts/solusar.de/subdomains/monitor/;
|
|
||||||
# index index.html;
|
|
||||||
#}
|
|
||||||
|
|
||||||
#location ~ \.php$ {
|
#location ~ \.php$ {
|
||||||
# try_files $uri =404;
|
# try_files $uri =404;
|
||||||
# fastcgi_split_path_info ^(.+\.php)(/.+)$;
|
# fastcgi_split_path_info ^(.+\.php)(/.+)$;
|
||||||
|
|||||||
Reference in New Issue
Block a user