fix tlgrm handle
This commit is contained in:
+2
-2
@@ -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
@@ -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/;
|
||||
|
||||
@@ -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/;
|
||||
|
||||
Reference in New Issue
Block a user