mirror of
https://github.com/YunoHost-Apps/vikunja_ynh.git
synced 2024-09-03 18:06:26 +02:00
Update nginx.conf
This commit is contained in:
parent
36b7d8e4f7
commit
f322eb7097
1 changed files with 3 additions and 4 deletions
|
@ -1,5 +1,4 @@
|
|||
#sub_path_only rewrite ^__PATH__$ __PATH__/ permanent;
|
||||
location __PATH__/ {
|
||||
location / {
|
||||
|
||||
# Path to source
|
||||
alias __FINALPATH__/ ;
|
||||
|
@ -9,7 +8,7 @@ location __PATH__/ {
|
|||
rewrite ^ https://$server_name$request_uri? permanent;
|
||||
}
|
||||
|
||||
try_files $uri $uri/ __PATH__/;
|
||||
try_files $uri $uri/ /;
|
||||
|
||||
index index.html index.htm;
|
||||
|
||||
|
@ -17,7 +16,7 @@ location __PATH__/ {
|
|||
include conf.d/yunohost_panel.conf.inc;
|
||||
}
|
||||
|
||||
location __PATH__/(api|dav|\.well-known)/ {
|
||||
location ~* ^/(api|dav|\.well-known)/ {
|
||||
proxy_pass http://127.0.0.1:__PORT__;
|
||||
client_max_body_size 20M;
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue