Loading deploy/.env +2 −0 Original line number Diff line number Diff line Loading @@ -4,3 +4,5 @@ PORT_MODE=host AWS_REGION=eu-west-1 ACME_VOL_NAME=acme-vol REDIRECT_REDMIC_CONFIG_NAME=nginx-proxy-http-redirect-redmic-config deploy/compose.dev.yaml +5 −0 Original line number Diff line number Diff line Loading @@ -13,3 +13,8 @@ volumes: type: ${VOL_TYPE:-nfs} o: addr=${VOL_ADDR:-127.0.0.1},vers=${VOL_VERS:-4.2},${VOL_OPTS:-nolock,noacl,noatime,nodiratime} device: :${VOL_DEVICE_PREFIX}${ACME_VOL_DEVICE:-/acme-vol/} configs: redirect-redmic-config: name: ${REDIRECT_REDMIC_CONFIG_NAME} file: ./config/dev-redirect-redmic.conf deploy/compose.prod.yaml +5 −0 Original line number Diff line number Diff line Loading @@ -8,3 +8,8 @@ services: volumes: acme-vol: name: ${ACME_VOL_NAME} configs: redirect-redmic-config: name: ${REDIRECT_REDMIC_CONFIG_NAME} file: ./config/pro-redirect-redmic.conf deploy/compose.tmpl.yaml +4 −0 Original line number Diff line number Diff line Loading @@ -46,3 +46,7 @@ configs: default-config: name: ${DEFAULT_CONFIG_NAME:-nginx-proxy-http-default-config} file: ./config/default.conf redirect-ecomarcan-config: name: ${REDIRECT_ECOMARCAN_CONFIG_NAME:-nginx-proxy-http-redirect-ecomarcan-config} file: ./config/redirect-ecomarcan.conf deploy/config/dev-redirect-redmic.conf 0 → 100644 +10 −0 Original line number Diff line number Diff line server { listen [::]:80 ipv6only=on; listen 80; access_log off; server_tokens off; server_name ~^(es\.|en\.|api\.)?redmic(\.grafcan\.es)$; return 301 https://$1ecomarcan$2$request_uri; } Loading
deploy/.env +2 −0 Original line number Diff line number Diff line Loading @@ -4,3 +4,5 @@ PORT_MODE=host AWS_REGION=eu-west-1 ACME_VOL_NAME=acme-vol REDIRECT_REDMIC_CONFIG_NAME=nginx-proxy-http-redirect-redmic-config
deploy/compose.dev.yaml +5 −0 Original line number Diff line number Diff line Loading @@ -13,3 +13,8 @@ volumes: type: ${VOL_TYPE:-nfs} o: addr=${VOL_ADDR:-127.0.0.1},vers=${VOL_VERS:-4.2},${VOL_OPTS:-nolock,noacl,noatime,nodiratime} device: :${VOL_DEVICE_PREFIX}${ACME_VOL_DEVICE:-/acme-vol/} configs: redirect-redmic-config: name: ${REDIRECT_REDMIC_CONFIG_NAME} file: ./config/dev-redirect-redmic.conf
deploy/compose.prod.yaml +5 −0 Original line number Diff line number Diff line Loading @@ -8,3 +8,8 @@ services: volumes: acme-vol: name: ${ACME_VOL_NAME} configs: redirect-redmic-config: name: ${REDIRECT_REDMIC_CONFIG_NAME} file: ./config/pro-redirect-redmic.conf
deploy/compose.tmpl.yaml +4 −0 Original line number Diff line number Diff line Loading @@ -46,3 +46,7 @@ configs: default-config: name: ${DEFAULT_CONFIG_NAME:-nginx-proxy-http-default-config} file: ./config/default.conf redirect-ecomarcan-config: name: ${REDIRECT_ECOMARCAN_CONFIG_NAME:-nginx-proxy-http-redirect-ecomarcan-config} file: ./config/redirect-ecomarcan.conf
deploy/config/dev-redirect-redmic.conf 0 → 100644 +10 −0 Original line number Diff line number Diff line server { listen [::]:80 ipv6only=on; listen 80; access_log off; server_tokens off; server_name ~^(es\.|en\.|api\.)?redmic(\.grafcan\.es)$; return 301 https://$1ecomarcan$2$request_uri; }