mirror of
https://github.com/YunoHost-Apps/cryptpad_ynh.git
synced 2024-09-03 18:26:14 +02:00
[fix] Too many redirection
This commit is contained in:
parent
11705f24ca
commit
1462cf2f71
1 changed files with 0 additions and 9 deletions
|
@ -20,15 +20,6 @@ if ($uri = /pad/inner.html) {
|
||||||
set $scriptSrc "'self' 'unsafe-eval' 'unsafe-inline'";
|
set $scriptSrc "'self' 'unsafe-eval' 'unsafe-inline'";
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
location = /cryptpad_websocket {
|
|
||||||
proxy_pass http://localhost:3000;
|
|
||||||
}
|
|
||||||
|
|
||||||
location ^~ /customize.dist/ {
|
|
||||||
# This is needed in order to prevent infinite recursion between /customize/ and the root
|
|
||||||
}
|
|
||||||
|
|
||||||
location ^~ /customize/ {
|
location ^~ /customize/ {
|
||||||
rewrite ^/customize/(.*)$ $1 break;
|
rewrite ^/customize/(.*)$ $1 break;
|
||||||
try_files /customize/$uri /customize.dist/$uri;
|
try_files /customize/$uri /customize.dist/$uri;
|
||||||
|
|
Loading…
Reference in a new issue