17 lines
449 B
Plaintext
17 lines
449 B
Plaintext
|
server {
|
||
|
# SSL Key locations
|
||
|
ssl_certificate /etc/letsencrypt/live/${PORTAINER_DOMAIN}/fullchain.pem;
|
||
|
ssl_certificate_key /etc/letsencrypt/live/${PORTAINER_DOMAIN}/privkey.pem;
|
||
|
|
||
|
listen ${HTTPS_PORT} ssl;
|
||
|
listen [::]:${HTTPS_PORT} ssl;
|
||
|
server_name ${PORTAINER_DOMAIN};
|
||
|
|
||
|
location / {
|
||
|
proxy_set_header Connection "upgrade";
|
||
|
|
||
|
resolver 127.0.0.11;
|
||
|
proxy_pass http://${PORTAINER_HOST}:9000;
|
||
|
}
|
||
|
}
|