mirror of
https://github.com/YunoHost-Apps/shaarli_ynh.git
synced 2024-09-03 20:26:10 +02:00
Update nginx.conf
This commit is contained in:
parent
c95ef8b2aa
commit
35e98c0925
1 changed files with 4 additions and 0 deletions
|
@ -11,6 +11,10 @@ location __PATH__/ {
|
||||||
|
|
||||||
index index.php;
|
index index.php;
|
||||||
|
|
||||||
|
if (!-f $request_filename) {
|
||||||
|
rewrite ^ __PATH__/index.php last;
|
||||||
|
}
|
||||||
|
|
||||||
try_files $uri $uri/ __PATH__//__PATH__/index.php$is_args$args;
|
try_files $uri $uri/ __PATH__//__PATH__/index.php$is_args$args;
|
||||||
|
|
||||||
location ~ [^/]\.php(/|$) {
|
location ~ [^/]\.php(/|$) {
|
||||||
|
|
Loading…
Add table
Reference in a new issue