1
0
Fork 0
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:
frju365 2017-07-05 11:48:56 +02:00 committed by GitHub
parent 11705f24ca
commit 1462cf2f71

View file

@ -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;