mirror of
https://github.com/linuxserver/docker-swag.git
synced 2026-04-09 22:47:55 +09:00
make the env proxy confs their own isolated folder to include
This commit is contained in:
@@ -5,7 +5,7 @@ from jinja2 import Environment, FileSystemLoader
|
||||
|
||||
# --- Configuration ---
|
||||
TEMPLATE_DIR = '/app/config-generator/templates'
|
||||
PROXY_OUTPUT_DIR = '/config/nginx/proxy-confs'
|
||||
PROXY_OUTPUT_DIR = '/config/nginx/env-proxy-confs'
|
||||
DEFAULT_CONF_OUTPUT = '/config/nginx/site-confs/default.conf'
|
||||
HTPASSWD_FILE = '/config/nginx/.htpasswd'
|
||||
# ---------------------
|
||||
|
||||
@@ -100,4 +100,6 @@ server {
|
||||
}
|
||||
|
||||
# enable subdomain method reverse proxy confs
|
||||
include /config/nginx/proxy-confs/*.conf;
|
||||
include /config/nginx/proxy-confs/*.subdomain.conf;
|
||||
# enable env var subdomain method reverse proxy confs
|
||||
include /config/nginx/env-proxy-confs/*.subdomain.conf;
|
||||
|
||||
Reference in New Issue
Block a user