Compare commits
No commits in common. "719d745bcb9df9fa2bcf1b4461fc432f1b9d5856" and "4feb39dfe349d737efc32a9e0ba7c8c29c7d7141" have entirely different histories.
719d745bcb
...
4feb39dfe3
2 changed files with 25 additions and 27 deletions
|
|
@ -127,8 +127,6 @@ spec:
|
||||||
value: "${PROD_BACKEND_PORT}"
|
value: "${PROD_BACKEND_PORT}"
|
||||||
- name: PORT
|
- name: PORT
|
||||||
value: "${PROD_FRONTEND_PORT}"
|
value: "${PROD_FRONTEND_PORT}"
|
||||||
- name: HOST
|
|
||||||
value: "0.0.0.0"
|
|
||||||
ports:
|
ports:
|
||||||
- containerPort: ${PROD_FRONTEND_PORT}
|
- containerPort: ${PROD_FRONTEND_PORT}
|
||||||
protocol: TCP
|
protocol: TCP
|
||||||
|
|
|
||||||
|
|
@ -37,13 +37,13 @@ http {
|
||||||
}
|
}
|
||||||
|
|
||||||
# backend API
|
# backend API
|
||||||
# location /api/ {
|
location /api/ {
|
||||||
# proxy_http_version 1.1;
|
proxy_http_version 1.1;
|
||||||
# proxy_set_header Host $host;
|
proxy_set_header Host $host;
|
||||||
# proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
|
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
|
||||||
# proxy_set_header X-Forwarded-Proto $scheme;
|
proxy_set_header X-Forwarded-Proto $scheme;
|
||||||
# proxy_set_header Connection "";
|
proxy_set_header Connection "";
|
||||||
# proxy_pass http://127.0.0.1:${PROD_BACKEND_PORT}/;
|
proxy_pass http://127.0.0.1:${PROD_BACKEND_PORT}/;
|
||||||
# }
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue