Выход из тестового режима

This commit is contained in:
2025-08-27 19:22:24 +07:00
parent 02dc3eb0dc
commit 70df7511e5
2 changed files with 9 additions and 7 deletions

View File

@@ -9,8 +9,9 @@ services:
container_name: nginx
image: nginx
ports:
- "442:443"
- "81:80"
- "442:442"
- "443:443"
- "80:80"
restart: always
networks:
- nginx_network_external

View File

@@ -5,7 +5,7 @@ http {
server_name j-v-web-panel.duckdns.org andrey-v-web-panel.duckdns.org hypoxie-v-web-panel.duckdns.org;
# Автоматический редирект на HTTPS
return 301 https://$host$request_uri;
return 301 https://$server_name:442$request_uri;
}
server {
@@ -36,9 +36,10 @@ http {
index index.html;
}
}
#admin panels
server {
listen 443 ssl http2;
listen 442 ssl http2;
server_name hypoxie-v-web-panel.duckdns.org;
ssl_certificate /etc/letsencrypt/live/hypoxie-v-web-panel.duckdns.org/fullchain.pem;
@@ -56,7 +57,7 @@ http {
}
}
server {
listen 443 ssl http2;
listen 442 ssl http2;
server_name j-v-web-panel.duckdns.org;
ssl_certificate /etc/letsencrypt/live/j-v-web-panel.duckdns.org/fullchain.pem;
@@ -74,7 +75,7 @@ http {
}
}
server {
listen 443 ssl http2;
listen 442 ssl http2;
server_name andrey-v-web-panel.duckdns.org;
ssl_certificate /etc/letsencrypt/live/andrey-v-web-panel.duckdns.org/fullchain.pem;