aboutsummaryrefslogtreecommitdiff
path: root/template
diff options
context:
space:
mode:
authorcrupest <crupest@outlook.com>2023-07-17 22:50:19 +0800
committercrupest <crupest@outlook.com>2023-07-17 22:50:19 +0800
commiteb66332caefc875eee65b2979d4ddb81305af660 (patch)
treed735f477b112dc7ede0de396073d42e71a1c739a /template
parentdd29a7761e180d1a255d2c6e86861f12e64eb861 (diff)
downloadcrupest-eb66332caefc875eee65b2979d4ddb81305af660.tar.gz
crupest-eb66332caefc875eee65b2979d4ddb81305af660.tar.bz2
crupest-eb66332caefc875eee65b2979d4ddb81305af660.zip
Try again.
Diffstat (limited to 'template')
-rw-r--r--template/nginx/root.conf.template6
1 files changed, 1 insertions, 5 deletions
diff --git a/template/nginx/root.conf.template b/template/nginx/root.conf.template
index d1585bb..8f65b40 100644
--- a/template/nginx/root.conf.template
+++ b/template/nginx/root.conf.template
@@ -1,7 +1,3 @@
-upstream crupest-api {
- server crupest-api:5000;
-}
-
server {
listen 443 ssl http2;
listen [::]:443 ssl http2;
@@ -35,7 +31,7 @@ server {
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header X-Forwarded-Proto $scheme;
proxy_set_header X-Real-IP $remote_addr;
- proxy_pass http://crupest-api;
+ proxy_pass http://crupest-api:5000;
}
}