fix
This commit is contained in:
parent
1d518b2a42
commit
e79a458fe4
|
|
@ -1,12 +1,12 @@
|
|||
server {
|
||||
listen 80;
|
||||
server_name tqo.spottorg.ru;
|
||||
server_name landingtqo.spottorg.ru;
|
||||
return 301 https://$server_name$request_uri;
|
||||
}
|
||||
|
||||
server {
|
||||
listen 443 ssl;
|
||||
server_name tqo.spottorg.ru;
|
||||
server_name landingtqo.spottorg.ru;
|
||||
|
||||
ssl_certificate /etc/letsencrypt/live/spottorg.ru/fullchain.pem;
|
||||
ssl_certificate_key /etc/letsencrypt/live/spottorg.ru/privkey.pem;
|
||||
|
|
@ -14,8 +14,8 @@ server {
|
|||
|
||||
client_max_body_size 10m;
|
||||
|
||||
access_log /var/log/nginx/tqo.spottorg.ru_access.log json;
|
||||
error_log /var/log/nginx/tqo.spottorg.ru_error.log;
|
||||
access_log /var/log/nginx/landingtqo.spottorg.ru_access.log json;
|
||||
error_log /var/log/nginx/landingtqo.spottorg.ru_error.log;
|
||||
|
||||
location / {
|
||||
proxy_pass http://landing:80;
|
||||
|
|
|
|||
Loading…
Reference in New Issue