1
0
Fork 0
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:
ericgaspar 2023-08-24 15:46:19 +02:00
parent b71be8ca45
commit fa29265b65

View file

@ -95,7 +95,7 @@ location ^~ /block/ {
proxy_hide_header 'Access-Control-Allow-Origin';
proxy_hide_header 'Permissions-Policy';
proxy_hide_header 'X-XSS-Protection';
proxy_pass http://127.0.0.1:3000;
proxy_pass http://127.0.0.1:__PORT__;
}
location ~ ^/(register|login|recovery|settings|user|pad|drive|poll|slide|code|whiteboard|file|media|profile|contacts|todo|filepicker|debug|kanban|sheet|support|admin|notifications|teams|calendar|presentation|doc|form|report|convert|checkup|diagram)$ {
rewrite ^(.*)$ $1/ redirect;