This commit is contained in:
Sergey Paramoshkin 2025-08-29 13:10:35 +03:00
parent 1d518b2a42
commit e79a458fe4
1 changed files with 4 additions and 4 deletions

View File

@ -1,12 +1,12 @@
server { server {
listen 80; listen 80;
server_name tqo.spottorg.ru; server_name landingtqo.spottorg.ru;
return 301 https://$server_name$request_uri; return 301 https://$server_name$request_uri;
} }
server { server {
listen 443 ssl; listen 443 ssl;
server_name tqo.spottorg.ru; server_name landingtqo.spottorg.ru;
ssl_certificate /etc/letsencrypt/live/spottorg.ru/fullchain.pem; ssl_certificate /etc/letsencrypt/live/spottorg.ru/fullchain.pem;
ssl_certificate_key /etc/letsencrypt/live/spottorg.ru/privkey.pem; ssl_certificate_key /etc/letsencrypt/live/spottorg.ru/privkey.pem;
@ -14,8 +14,8 @@ server {
client_max_body_size 10m; client_max_body_size 10m;
access_log /var/log/nginx/tqo.spottorg.ru_access.log json; access_log /var/log/nginx/landingtqo.spottorg.ru_access.log json;
error_log /var/log/nginx/tqo.spottorg.ru_error.log; error_log /var/log/nginx/landingtqo.spottorg.ru_error.log;
location / { location / {
proxy_pass http://landing:80; proxy_pass http://landing:80;