You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
34 lines
539 B
34 lines
539 B
server { |
|
|
|
server_name tasks-fs.rwsbank.com.ua; |
|
|
|
location / { |
|
proxy_pass "http://127.0.0.1:9000"; |
|
} |
|
|
|
location =/taskme { |
|
deny all; |
|
} |
|
|
|
|
|
|
|
listen [::]:443 ssl ipv6only=on; |
|
listen 443 ssl; |
|
ssl_certificate /etc/ssl/rwsbank/ssl-bundle.crt; |
|
ssl_certificate_key /etc/ssl/rwsbank/com.key; |
|
} |
|
|
|
|
|
|
|
|
|
server { |
|
if ($host = tasks-fs.rwsbank.com.ua) { |
|
return 301 https://$host$request_uri; |
|
} |
|
listen 80; |
|
listen [::]:80; |
|
server_name tasks-fs.rwsbank.com.ua; |
|
return 404; |
|
|
|
|
|
} |