diff options
author | Yuqian Yang <crupest@crupest.life> | 2025-02-19 02:05:39 +0800 |
---|---|---|
committer | Yuqian Yang <crupest@crupest.life> | 2025-02-19 02:42:42 +0800 |
commit | 4c5df72057fe02257e243de37930a47425a84722 (patch) | |
tree | f782d0e85c4a784b659e0da29f0bbf4fc25fc827 /templates/disabled/nginx | |
parent | 89e31c19bb8fca91c54a73ff7a7f4e837d1dbf93 (diff) | |
download | crupest-4c5df72057fe02257e243de37930a47425a84722.tar.gz crupest-4c5df72057fe02257e243de37930a47425a84722.tar.bz2 crupest-4c5df72057fe02257e243de37930a47425a84722.zip |
chore(docker): remove crupest-api, forgejo and move dropped.
Diffstat (limited to 'templates/disabled/nginx')
-rw-r--r-- | templates/disabled/nginx/code.conf.template | 20 | ||||
-rw-r--r-- | templates/disabled/nginx/timeline.conf.template | 21 |
2 files changed, 41 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; +} diff --git a/templates/disabled/nginx/timeline.conf.template b/templates/disabled/nginx/timeline.conf.template new file mode 100644 index 0000000..551e0ae --- /dev/null +++ b/templates/disabled/nginx/timeline.conf.template @@ -0,0 +1,21 @@ +server { + listen 443 ssl http2; + listen [::]:443 ssl http2; + server_name timeline.${CRUPEST_DOMAIN}; + + location / { + include common/reverse-proxy; + proxy_pass http://timeline:5000/; + } + + client_max_body_size 5G; +} + +server { + listen 80; + listen [::]:80; + server_name timeline.${CRUPEST_DOMAIN}; + + include common/https-redirect; + include common/acme-challenge; +} |