From 25050241d34fb384e911594cc2398e59e4ab215b Mon Sep 17 00:00:00 2001 From: german Date: Sat, 14 Mar 2026 21:41:52 +0400 Subject: [PATCH] Logout --- nginx.conf | 9 +++++++++ templates/layout.html | 2 +- logout.html => templates/logout.html | 0 3 files changed, 10 insertions(+), 1 deletion(-) rename logout.html => templates/logout.html (100%) 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