mirror of
https://github.com/YunoHost-Apps/cryptpad_ynh.git
synced 2024-09-03 18:26:14 +02:00
Update nginx.conf
This commit is contained in:
parent
51da5711b0
commit
184e84eef3
1 changed files with 5 additions and 1 deletions
|
@ -11,6 +11,11 @@ location / {
|
|||
|
||||
}
|
||||
|
||||
location ^~ /customize.dist/ {
|
||||
# This is needed in order to prevent infinite recursion between /customize/ and the root
|
||||
}
|
||||
|
||||
|
||||
location = /api/config {
|
||||
default_type text/javascript;
|
||||
rewrite ^.*$ /customize/api/config break;
|
||||
|
@ -25,7 +30,6 @@ location ^~ /customize/ {
|
|||
try_files /customize/$uri /customize.dist/$uri;
|
||||
}
|
||||
|
||||
|
||||
## TODO fix in the code so that we don't need this
|
||||
location ~ ^/(register|login|settings|user|pad|drive|poll|slide|code|whiteboard)$ {
|
||||
rewrite ^(.*)$ $1/ redirect;
|
||||
|
|
Loading…
Reference in a new issue