adding my data

This commit is contained in:
2025-09-06 21:22:24 +00:00
parent 8fd26c9f1f
commit 2be032023d
5 changed files with 10 additions and 47 deletions

View File

@@ -67,11 +67,11 @@ http {
server {
listen 443 ssl;
http2 on;
server_name yourdomain.com www.yourdomain.com;
server_name test.byte-mate.xyz;
# SSL Configuration
ssl_certificate /etc/letsencrypt/live/yourdomain.com/fullchain.pem;
ssl_certificate_key /etc/letsencrypt/live/yourdomain.com/privkey.pem;
ssl_certificate /etc/letsencrypt/live/test.byte-mate.xyz/fullchain.pem;
ssl_certificate_key /etc/letsencrypt/live/test.byte-mate.xyz/privkey.pem;
# Modern SSL configuration
ssl_protocols TLSv1.2 TLSv1.3;
@@ -254,7 +254,7 @@ http {
# HTTP to HTTPS redirect
server {
listen 80;
server_name yourdomain.com www.yourdomain.com;
server_name test.byte-mate.xyz;
# Allow Let's Encrypt challenges
location /.well-known/acme-challenge/ {
@@ -274,8 +274,8 @@ http {
server_name _;
# Минимальная SSL конфигурация для блокировки HTTPS запросов
ssl_certificate /etc/letsencrypt/live/yourdomain.com/fullchain.pem;
ssl_certificate_key /etc/letsencrypt/live/yourdomain.com/privkey.pem;
ssl_certificate /etc/letsencrypt/live/test.byte-mate.xyz/fullchain.pem;
ssl_certificate_key /etc/letsencrypt/live/test.byte-mate.xyz/privkey.pem;
ssl_reject_handshake on;
# Возвращаем 444 (connection closed without response) для всех запросов