修正了nginx代理错误
This commit is contained in:
1 parent
36b5a1db2d
commit
001bc4e52b
1 file changed
+1
-1
+1
-1
@@ -9,7 +9,7 @@ http {
|
||||
listen 80;
|
||||
|
||||
location /api/ {
|
||||
proxy_pass http://backend:8000/;
|
||||
proxy_pass http://backend:8000;
|
||||
proxy_set_header Host $host;
|
||||
proxy_set_header X-Real-IP $remote_addr;
|
||||
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
|
||||
|
||||
Reference in new issue
Block a user