From 1e9b2436eaffa4130f6a69c3a108f6feb9dd4ac8 Mon Sep 17 00:00:00 2001 From: Yuqian Yang Date: Sat, 22 Feb 2025 18:11:35 +0800 Subject: feat(services): refactor structure. --- services/templates/disabled/nginx/code.conf.template | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 services/templates/disabled/nginx/code.conf.template (limited to 'services/templates/disabled/nginx/code.conf.template') diff --git a/services/templates/disabled/nginx/code.conf.template b/services/templates/disabled/nginx/code.conf.template new file mode 100644 index 0000000..0abe042 --- /dev/null +++ b/services/templates/disabled/nginx/code.conf.template @@ -0,0 +1,20 @@ +server { + server_name code.@@CRUPEST_DOMAIN@@; + include common/https-listen; + + location / { + include common/proxy-common; + proxy_pass http://debian-dev:8080/; + } + + client_max_body_size 5G; +} + + +server { + server_name code.@@CRUPEST_DOMAIN@@; + include common/http-listen; + + include common/https-redirect; + include common/acme-challenge; +} -- cgit v1.2.3