server { # SSL Key locations ssl_certificate /etc/letsencrypt/live/${KOEL_DOMAIN}/fullchain.pem; ssl_certificate_key /etc/letsencrypt/live/${KOEL_DOMAIN}/privkey.pem; listen ${HTTPS_PORT} ssl; listen [::]:${HTTPS_PORT} ssl; server_name ${KOEL_DOMAIN}; location / { resolver 127.0.0.11; proxy_pass http://${KOEL_HOST}:80; } }