From 6c5dbf54e7bb29a4aae04b98730b386398c01e7c Mon Sep 17 00:00:00 2001 From: Seyed Mansour Mirbehbahani Date: Sun, 29 Dec 2024 14:49:31 +0330 Subject: [PATCH] :arrow_up_small: Since `resolved_progo_map.conf` doesn't change content per host, we should put it in `/docker/rootfs/etc/nginx/conf.d/include/resolved_proto_map.conf` instead. --- backend/templates/proxy_host.conf | 2 +- .../rootfs/etc/nginx/conf.d/include/resolved_proto_map.conf | 0 2 files changed, 1 insertion(+), 1 deletion(-) rename backend/templates/_resolved_proto_map.conf => docker/rootfs/etc/nginx/conf.d/include/resolved_proto_map.conf (100%) diff --git a/backend/templates/proxy_host.conf b/backend/templates/proxy_host.conf index 13131a84..f57db26e 100644 --- a/backend/templates/proxy_host.conf +++ b/backend/templates/proxy_host.conf @@ -4,7 +4,7 @@ {% include "_hsts_map.conf" %} -{% include "_resolved_proto_map.conf" %} +include conf.d/include/resolved_proto_map.conf; server { set $forward_scheme {{ forward_scheme }}; diff --git a/backend/templates/_resolved_proto_map.conf b/docker/rootfs/etc/nginx/conf.d/include/resolved_proto_map.conf similarity index 100% rename from backend/templates/_resolved_proto_map.conf rename to docker/rootfs/etc/nginx/conf.d/include/resolved_proto_map.conf