|
|
|
@ -216,6 +216,31 @@ server { |
|
|
|
proxy_set_header Host $host; |
|
|
|
} |
|
|
|
} |
|
|
|
server { |
|
|
|
listen 80; |
|
|
|
server_name eshop-st-cmskit; |
|
|
|
|
|
|
|
return 301 https://$host$request_uri; |
|
|
|
|
|
|
|
location / { |
|
|
|
proxy_pass http://eshop-st-cmskit:80; |
|
|
|
proxy_set_header Host $host; |
|
|
|
} |
|
|
|
} |
|
|
|
server { |
|
|
|
listen 443 ssl; |
|
|
|
server_name eshop-st-cmskit; |
|
|
|
|
|
|
|
ssl_certificate /etc/nginx/certs/app-cert.pem; |
|
|
|
ssl_certificate_key /etc/nginx/certs/app-cert-key.pem; |
|
|
|
ssl_protocols TLSv1 TLSv1.1 TLSv1.2; |
|
|
|
ssl_prefer_server_ciphers on; |
|
|
|
|
|
|
|
location / { |
|
|
|
proxy_pass http://eshop-st-cmskit:80; |
|
|
|
proxy_set_header Host $host; |
|
|
|
} |
|
|
|
} |
|
|
|
server { |
|
|
|
listen 80; |
|
|
|
server_name eshop-st-payment; |
|
|
|
|