Template out nginx.conf
This commit is contained in:
parent
8b64973146
commit
956c67481f
|
@ -105,4 +105,5 @@ secrets:
|
||||||
configs:
|
configs:
|
||||||
nginx-conf:
|
nginx-conf:
|
||||||
name: ${STACK_NAME}-nginx-conf-${NGINX_CONF_VERSION}
|
name: ${STACK_NAME}-nginx-conf-${NGINX_CONF_VERSION}
|
||||||
file: nginx.conf
|
file: nginx.conf.tmpl
|
||||||
|
template_driver: golang
|
||||||
|
|
|
@ -16,7 +16,7 @@ http {
|
||||||
|
|
||||||
server {
|
server {
|
||||||
listen 80 default;
|
listen 80 default;
|
||||||
server_name invoices.zzp.decentral1.se;
|
server_name {{ env "DOMAIN" }};
|
||||||
|
|
||||||
root /var/www/app/public;
|
root /var/www/app/public;
|
||||||
|
|
Loading…
Reference in New Issue