aboutsummaryrefslogtreecommitdiff
path: root/templates/disabled/nginx/code.conf.template
diff options
context:
space:
mode:
authorYuqian Yang <crupest@crupest.life>2025-02-19 02:05:39 +0800
committerYuqian Yang <crupest@crupest.life>2025-02-19 02:42:42 +0800
commitb524986daf378cfe7aeafddafa98e9f978d26729 (patch)
tree18bce74a6c0851789e1d20b38110a177d94f7eb6 /templates/disabled/nginx/code.conf.template
parent694edd52d51f61460117d4f7e4e62e6b990c5e32 (diff)
downloadcrupest-b524986daf378cfe7aeafddafa98e9f978d26729.tar.gz
crupest-b524986daf378cfe7aeafddafa98e9f978d26729.tar.bz2
crupest-b524986daf378cfe7aeafddafa98e9f978d26729.zip
chore(docker): remove crupest-api, forgejo and move dropped.
Diffstat (limited to 'templates/disabled/nginx/code.conf.template')
-rw-r--r--templates/disabled/nginx/code.conf.template20
1 files changed, 20 insertions, 0 deletions
diff --git a/templates/disabled/nginx/code.conf.template b/templates/disabled/nginx/code.conf.template
new file mode 100644
index 0000000..205c7ba
--- /dev/null
+++ b/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;
+}