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:
parent
978fdc94c8
commit
2a410084f3
1 changed files with 2 additions and 2 deletions
|
@ -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;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue