1
0
mirror of synced 2025-12-18 13:22:16 +01:00

Add files via upload

This commit is contained in:
d-two
2024-11-14 21:30:27 +01:00
committed by GitHub
parent 820f43f74c
commit d18a54c4f2
2 changed files with 8 additions and 6 deletions

View File

@@ -21,12 +21,13 @@ server {
# Pass the PHP scripts to FastCGI server listening on 127.0.0.1:9000 # Pass the PHP scripts to FastCGI server listening on 127.0.0.1:9000
location ~ ^(.+\.php)(.*)$ { location ~ ^(.+\.php)(.*)$ {
try_files $fastcgi_script_name =404; fastcgi_pass 127.0.0.1:9001;
include /etc/nginx/includes/fastcgi_params.conf; try_files $fastcgi_script_name =404;
fastcgi_split_path_info ^(.+\.php)(.*)$; fastcgi_split_path_info ^(.+\.php)(.*)$;
fastcgi_pass 127.0.0.1:9001; fastcgi_index index.php;
fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name; fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
fastcgi_param PATH_INFO $fastcgi_path_info; fastcgi_param PATH_INFO $fastcgi_path_info;
include /etc/nginx/includes/fastcgi_params.conf;
} }
# Deny access to Apache httpd .htaccess files, see https://github.com/JsBergbau/BaikalAnleitung#webserver-konfiguration # Deny access to Apache httpd .htaccess files, see https://github.com/JsBergbau/BaikalAnleitung#webserver-konfiguration

View File

@@ -17,12 +17,13 @@ server {
# Pass the PHP scripts to FastCGI server listening on 127.0.0.1:9000 # Pass the PHP scripts to FastCGI server listening on 127.0.0.1:9000
location ~ ^(.+\.php)(.*)$ { location ~ ^(.+\.php)(.*)$ {
try_files $fastcgi_script_name =404; fastcgi_pass 127.0.0.1:9001;
include /etc/nginx/includes/fastcgi_params.conf; try_files $fastcgi_script_name =404;
fastcgi_split_path_info ^(.+\.php)(.*)$; fastcgi_split_path_info ^(.+\.php)(.*)$;
fastcgi_pass 127.0.0.1:9001; fastcgi_index index.php;
fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name; fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
fastcgi_param PATH_INFO $fastcgi_path_info; fastcgi_param PATH_INFO $fastcgi_path_info;
include /etc/nginx/includes/fastcgi_params.conf;
} }
# Deny access to Apache httpd .htaccess files, see https://github.com/JsBergbau/BaikalAnleitung#webserver-konfiguration # Deny access to Apache httpd .htaccess files, see https://github.com/JsBergbau/BaikalAnleitung#webserver-konfiguration