diff --git a/nginx.conf b/nginx.conf index 80a783d..8ddbc2f 100644 --- a/nginx.conf +++ b/nginx.conf @@ -99,6 +99,15 @@ stream { proxy_send_timeout 120; content_by_lua_file /var/www/braga/front/room.lua; } + + location /logout { + default_type text/html; + add_header 'Access-Control-Allow-Origin' '*' always; + proxy_connect_timeout 140; + proxy_read_timeout 120; + proxy_send_timeout 120; + try_files /templates/logout.html / =404; + } location /cellar { default_type text/html; diff --git a/templates/layout.html b/templates/layout.html index 72f400f..f836e4f 100644 --- a/templates/layout.html +++ b/templates/layout.html @@ -34,7 +34,7 @@
diff --git a/logout.html b/templates/logout.html similarity index 100% rename from logout.html rename to templates/logout.html