sebdet | d85e24c | 2019-09-04 18:35:26 +0200 | [diff] [blame] | 1 | server { |
2 | |||||
3 | listen 443 default ssl; | ||||
4 | ssl_protocols TLSv1.2; | ||||
5 | ssl_certificate /etc/ssl/clamp.pem; | ||||
6 | ssl_certificate_key /etc/ssl/clamp.key; | ||||
7 | location /restservices/clds/ { | ||||
8 | proxy_pass https://clamp-backend:443; | ||||
9 | } | ||||
10 | |||||
11 | location / { | ||||
12 | root /usr/share/nginx/html; | ||||
13 | index index.html index.htm; | ||||
14 | try_files $uri $uri/ /index.html; | ||||
15 | } | ||||
16 | |||||
17 | error_page 500 502 503 504 /50x.html; | ||||
18 | |||||
19 | location = /50x.html { | ||||
20 | root /usr/share/nginx/html; | ||||
21 | } | ||||
22 | |||||
23 | } |