fixup! настройка докер-связи с бэком
This commit is contained in:
1 parent
1a63f5736c
commit
7c35c9328b
1 file changed
+2
-1
@@ -2,7 +2,8 @@ server {
|
|||||||
listen 80;
|
listen 80;
|
||||||
|
|
||||||
location /api/ {
|
location /api/ {
|
||||||
proxy_pass https://${BACKEND_UPSTREAM}/;
|
proxy_pass http://${BACKEND_UPSTREAM};
|
||||||
|
|
||||||
proxy_http_version 1.1;
|
proxy_http_version 1.1;
|
||||||
proxy_set_header Host $host;
|
proxy_set_header Host $host;
|
||||||
proxy_set_header X-Real-IP $remote_addr;
|
proxy_set_header X-Real-IP $remote_addr;
|
||||||
|
|||||||
Reference in new issue
Block a user