Added podgrab nginx config
This commit is contained in:
parent
ac5f944770
commit
e21a135c7d
4 changed files with 30 additions and 21 deletions
15
nginx/sites-available/podgrab.conf.template
Normal file
15
nginx/sites-available/podgrab.conf.template
Normal file
|
|
@ -0,0 +1,15 @@
|
|||
server {
|
||||
# SSL Key locations
|
||||
ssl_certificate /etc/letsencrypt/live/${PODGRAB_DOMAIN}/fullchain.pem;
|
||||
ssl_certificate_key /etc/letsencrypt/live/${PODGRAB_DOMAIN}/privkey.pem;
|
||||
listen ${HTTPS_PORT} ssl;
|
||||
listen [::]:${HTTPS_PORT} ssl;
|
||||
|
||||
server_name ${PODGRAB_DOMAIN};
|
||||
|
||||
location / {
|
||||
resolver 127.0.0.11;
|
||||
proxy_pass http://${PODGRAB_HOST}:8080/;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in a new issue