This commit is contained in:
Qwerty 2024-08-25 01:30:35 +03:00
parent 16f98386ac
commit dd75d1a1fc

View File

@ -10,8 +10,7 @@ http {
} }
location / { location / {
root /var/www/html; return 301 https://$host$request_uri;
index index.html;
} }
} }
@ -23,8 +22,11 @@ http {
ssl_certificate_key /etc/letsencrypt/live/git.evil-bird.ru/privkey.pem; ssl_certificate_key /etc/letsencrypt/live/git.evil-bird.ru/privkey.pem;
location / { location / {
root /var/www/html; proxy_pass http://10.10.1.10:3000;
index index.html; proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header X-Forwarded-Proto $scheme;
} }
} }
} }