1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/automad_ynh.git synced 2024-09-03 18:06:04 +02:00

Update nginx.conf

This commit is contained in:
ericgaspar 2022-05-15 12:17:00 +02:00
parent 978fdc94c8
commit 2a410084f3
No known key found for this signature in database
GPG key ID: 574F281483054D44

View file

@ -19,10 +19,10 @@ location __PATH__/ {
include fastcgi_params; include fastcgi_params;
fastcgi_param REMOTE_USER $remote_user; fastcgi_param REMOTE_USER $remote_user;
fastcgi_param PATH_INFO $fastcgi_path_info; fastcgi_param PATH_INFO $fastcgi_path_info;
fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name; fastcgi_param SCRIPT_FILENAME $fastcgi_path_info;
} }
} }
location @rewrite { location @rewrite {
rewrite ^/(.+)$ __PATH__/index.php$is_args$args; rewrite ^/(.+)$ __PATH__/index.php?page=$1 last;
} }