diff options
| author | crupest <crupest@outlook.com> | 2023-07-17 22:50:19 +0800 | 
|---|---|---|
| committer | crupest <crupest@outlook.com> | 2023-07-17 22:50:19 +0800 | 
| commit | 2f0d8f656ec29be675a195aca9a85d24b9842770 (patch) | |
| tree | d735f477b112dc7ede0de396073d42e71a1c739a | |
| parent | 7f6354d1627e1353283c2d86489be6d0974c7378 (diff) | |
| download | crupest-2f0d8f656ec29be675a195aca9a85d24b9842770.tar.gz crupest-2f0d8f656ec29be675a195aca9a85d24b9842770.tar.bz2 crupest-2f0d8f656ec29be675a195aca9a85d24b9842770.zip  | |
Try again.
| -rw-r--r-- | template/nginx/root.conf.template | 6 | 
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;      }  }  | 
