Added podgrab nginx config

This commit is contained in:
Jef Roosens 2021-04-23 21:06:42 +02:00
parent ac5f944770
commit e21a135c7d
Signed by: Jef Roosens
GPG key ID: B580B976584B5F30
4 changed files with 30 additions and 21 deletions

View file

@ -57,3 +57,9 @@ PORTAINER_HOST=portainer_app_1
GITEA_DOMAIN=
### Hostname
GITEA_HOST=gitea_app_1
## Podgrab
### Domain name
PODGRAB_DOMAIN=
### Hostname
PODGRAB_HOST=podgrab_app_1

View 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/;
}
}