Browse Source

Template out nginx.conf

pull/1/head
Luke Murphy 1 year ago
parent
commit
956c67481f
No known key found for this signature in database GPG Key ID: 5E2EF5A63E3718CC
  1. 3
      compose.yml
  2. 2
      nginx.conf.tmpl

3
compose.yml

@ -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

2
nginx.conf → nginx.conf.tmpl

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