ungleich-k8s/apps/docker-cache/nginx/default.conf
2021-12-04 20:44:30 +01:00

17 lines
No EOL
509 B
Text

server {
listen 443 ssl http2;
listen [::]:443 ssl http2;
server_name {{ tpl .Values.fqdn . }};
# Use Mozilla's guidelines for SSL/TLS settings
# https://mozilla.github.io/server-side-tls/ssl-config-generator/
ssl_certificate /etc/letsencrypt/live/{{ tpl .Values.fqdn . }}/fullchain.pem;
ssl_certificate_key /etc/letsencrypt/live/{{ tpl .Values.fqdn . }}/privkey.pem;
client_max_body_size 1024m;
location / {
proxy_pass http://localhost:3000;
}
}