Template out nginx.conf

This commit is contained in:
Luke Murphy 2020-06-17 23:15:02 +02:00
parent 8b64973146
commit 956c67481f
No known key found for this signature in database
GPG Key ID: 5E2EF5A63E3718CC
2 changed files with 3 additions and 2 deletions

View File

@ -105,4 +105,5 @@ secrets:
configs:
nginx-conf:
name: ${STACK_NAME}-nginx-conf-${NGINX_CONF_VERSION}
file: nginx.conf
file: nginx.conf.tmpl
template_driver: golang

View File

@ -16,7 +16,7 @@ http {
server {
listen 80 default;
server_name invoices.zzp.decentral1.se;
server_name {{ env "DOMAIN" }};
root /var/www/app/public;