m
This commit is contained in:
@@ -36,21 +36,21 @@ server {
|
||||
#proxy_pass http://$upstream;
|
||||
}
|
||||
|
||||
location ~ [^/]\.php(/|$) {
|
||||
root /usr/share/nginx/html/zinomedia.de;
|
||||
fastcgi_split_path_info ^(.+?\.php)(/.*)$;
|
||||
if (!-f $document_root$fastcgi_script_name) {
|
||||
return 404;
|
||||
}
|
||||
# location ~ [^/]\.php(/|$) {
|
||||
# root /usr/share/nginx/html/zinomedia.de;
|
||||
# fastcgi_split_path_info ^(.+?\.php)(/.*)$;
|
||||
# if (!-f $document_root$fastcgi_script_name) {
|
||||
# return 404;
|
||||
# }
|
||||
|
||||
include fastcgi_params;
|
||||
fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
|
||||
fastcgi_param PATH_INFO $fastcgi_path_info;
|
||||
fastcgi_param PATH_TRANSLATED $document_root$fastcgi_path_info;
|
||||
# include fastcgi_params;
|
||||
# fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
|
||||
# fastcgi_param PATH_INFO $fastcgi_path_info;
|
||||
# fastcgi_param PATH_TRANSLATED $document_root$fastcgi_path_info;
|
||||
|
||||
fastcgi_pass zinomedia-wordpress:9000;
|
||||
fastcgi_index index.php;
|
||||
}
|
||||
# fastcgi_pass zinomedia-wordpress:9000;
|
||||
# fastcgi_index index.php;
|
||||
# }
|
||||
|
||||
location /duplicator {
|
||||
root /;
|
||||
|
||||
Reference in New Issue
Block a user