fix tlgrm handle

This commit is contained in:
mercury
2024-12-20 03:25:35 +04:00
parent 3929032e7a
commit f8e5b54a98
3 changed files with 28 additions and 10 deletions
+2 -2
View File
@@ -4241,8 +4241,8 @@ DNS-over-HTTPS with IP:
$text = $menu[$type ?: 'main' ]['text'];
$data = $menu[$type ?: 'main' ]['data'];
if (empty($type)) {
$b = exec('git -C / rev-parse --abbrev-ref HEAD');
if (empty($type) && $update) {
$b = exec('git -C / rev-parse --abbrev-ref HEAD');
array_unshift($data, [
[
'text' => 'changelog',
+13 -4
View File
@@ -35,6 +35,19 @@ http {
}
}
server {
listen 10.10.0.2:443 ssl http2 proxy_protocol;
listen 10.10.1.2:443 ssl http2;
ssl_certificate /certs/self_public;
ssl_certificate_key /certs/self_private;
location /tlgrm {
access_log /logs/nginx_tlgrm_access;
proxy_pass http://php;
}
}
#~
server {
@@ -55,10 +68,6 @@ http {
index override.html login.html;
try_files $uri $uri/ =404;
}
location /tlgrm {
access_log /logs/nginx_tlgrm_access;
proxy_pass http://php;
}
location /adguard/ {
access_log /logs/nginx_adguard_access;
proxy_pass http://ad:80/;
+13 -4
View File
@@ -35,6 +35,19 @@ http {
}
}
server {
listen 10.10.0.2:443 ssl http2 proxy_protocol;
listen 10.10.1.2:443 ssl http2;
ssl_certificate /certs/self_public;
ssl_certificate_key /certs/self_private;
location /tlgrm {
access_log /logs/nginx_tlgrm_access;
proxy_pass http://php;
}
}
#~
server {
@@ -55,10 +68,6 @@ http {
index override.html login.html;
try_files $uri $uri/ =404;
}
location /tlgrm {
access_log /logs/nginx_tlgrm_access;
proxy_pass http://php;
}
location /adguard/ {
access_log /logs/nginx_adguard_access;
proxy_pass http://ad:80/;