Newer
Older
root /usr/share/nginx/html;
index index.html index.htm;
try_files $uri $uri/ /index.html =404;
server {
listen 443 ssl;
server_name local;
ssl_certificate /etc/nginx/cert.pem;
ssl_certificate_key /etc/nginx/key.pem;
ssl_protocols TLSv1 TLSv1.1 TLSv1.2;
ssl_ciphers HIGH:!aNULL:!MD5;
location / {
proxy_pass http://localhost:8080;
}
location /OAuth2Callback {
proxy_pass https://backend:1443/OAuth2Callback;
}
}