Compare commits
No commits in common. "master" and "main" have entirely different histories.
BIN
favicon.ico
BIN
favicon.ico
Binary file not shown.
|
Before Width: | Height: | Size: 1.1 KiB After Width: | Height: | Size: 114 KiB |
11
nginx.conf
11
nginx.conf
@ -1,4 +1,4 @@
|
|||||||
lua_package_path "/var/www/blog/?.lua;/var/www/braga/?.lua;/var/www/appphotos/?.lua;/var/www/apihh/?.lua;;";
|
lua_package_path "/var/www/blog/?.lua;/var/www/braga/?.lua;/var/www/appphotos/?.lua;/var/www/apihh/?.lua;;";
|
||||||
lua_code_cache off;
|
lua_code_cache off;
|
||||||
|
|
||||||
worker_processes auto;
|
worker_processes auto;
|
||||||
@ -100,6 +100,15 @@ stream {
|
|||||||
content_by_lua_file /var/www/braga/front/room.lua;
|
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 {
|
location /cellar {
|
||||||
default_type text/html;
|
default_type text/html;
|
||||||
add_header 'Access-Control-Allow-Origin' '*' always;
|
add_header 'Access-Control-Allow-Origin' '*' always;
|
||||||
|
|||||||
2835
public/css/style.css
2835
public/css/style.css
File diff suppressed because it is too large
Load Diff
Binary file not shown.
|
Before Width: | Height: | Size: 79 KiB |
BIN
public/img/icon.png
Normal file
BIN
public/img/icon.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 7.2 KiB |
BIN
public/img/logout_icon.png
Normal file
BIN
public/img/logout_icon.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 102 KiB |
59
templates/logout.html
Normal file
59
templates/logout.html
Normal file
@ -0,0 +1,59 @@
|
|||||||
|
<!--
|
||||||
|
logout.html
|
||||||
|
|
||||||
|
Copyright 2026 Lida <lida@lida-laptol>
|
||||||
|
|
||||||
|
This program is free software; you can redistribute it and/or modify
|
||||||
|
it under the terms of the GNU General Public License as published by
|
||||||
|
the Free Software Foundation; either version 2 of the License, or
|
||||||
|
(at your option) any later version.
|
||||||
|
|
||||||
|
This program is distributed in the hope that it will be useful,
|
||||||
|
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
|
GNU General Public License for more details.
|
||||||
|
|
||||||
|
You should have received a copy of the GNU General Public License
|
||||||
|
along with this program; if not, write to the Free Software
|
||||||
|
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
|
||||||
|
MA 02110-1301, USA.
|
||||||
|
|
||||||
|
|
||||||
|
-->
|
||||||
|
|
||||||
|
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
|
||||||
|
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
|
||||||
|
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
|
||||||
|
|
||||||
|
<head>
|
||||||
|
<title>Вход в мои чаны</title>
|
||||||
|
<link rel="icon" href="public/img/icon.png" type="image/png">
|
||||||
|
<meta http-equiv="content-type" content="text/html;charset=utf-8" />
|
||||||
|
<meta name="generator" content="Geany 2.0" />
|
||||||
|
<style>
|
||||||
|
body {
|
||||||
|
background-color: #282a36;
|
||||||
|
overflow: hidden;
|
||||||
|
}
|
||||||
|
.background-image {
|
||||||
|
width: 100vw;
|
||||||
|
height: 100vh;
|
||||||
|
display: flex;
|
||||||
|
align-items: center;
|
||||||
|
justify-content: center;
|
||||||
|
}
|
||||||
|
.im-getter {
|
||||||
|
max-width: 80%;
|
||||||
|
max-height: 80%;
|
||||||
|
display: block;
|
||||||
|
}
|
||||||
|
</style>
|
||||||
|
</head>
|
||||||
|
|
||||||
|
<body>
|
||||||
|
<div class="background-image" onclick="location.assign('/')">
|
||||||
|
<img src="public/img/logout_icon.png" class="im-getter"></img>
|
||||||
|
</div>
|
||||||
|
</body>
|
||||||
|
|
||||||
|
</html>
|
||||||
Loading…
x
Reference in New Issue
Block a user