mirror of
https://github.com/YunoHost-Apps/lychee_ynh.git
synced 2024-09-03 19:36:36 +02:00
Update nginx.conf
This commit is contained in:
parent
5847413636
commit
a24e803c93
1 changed files with 2 additions and 1 deletions
|
@ -11,7 +11,8 @@ location ^~ __PATH__/ {
|
||||||
|
|
||||||
index index.php;
|
index index.php;
|
||||||
|
|
||||||
try_files $uri $uri/ @lychee;
|
try_files $uri $uri/ /lychee//lychee/index.php?$query_string;
|
||||||
|
|
||||||
location ~ \.php$ {
|
location ~ \.php$ {
|
||||||
if (!-e $request_filename) {
|
if (!-e $request_filename) {
|
||||||
rewrite ^/lychee/?(.*)$ /lychee/index.php?/$1 last;
|
rewrite ^/lychee/?(.*)$ /lychee/index.php?/$1 last;
|
||||||
|
|
Loading…
Reference in a new issue