This commit is contained in:
Gitea
2022-12-21 11:09:24 +01:00
parent 62fe006b18
commit 722ecd9c42
3 changed files with 2 additions and 7 deletions
+1 -1
View File
@@ -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
View File
@@ -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;
-5
View File
@@ -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)(/.+)$;