feat: add D601 dev backend path
This commit is contained in:
@@ -0,0 +1,2 @@
|
||||
FROM nginx:1.27-alpine
|
||||
COPY src/components/dev-frontend-proxy/nginx.conf /etc/nginx/conf.d/default.conf
|
||||
@@ -0,0 +1,20 @@
|
||||
server {
|
||||
listen 8080;
|
||||
server_name _;
|
||||
|
||||
# The dev frontend is intentionally reached through the existing backend-core
|
||||
# microservice proxy so the public port does not need direct access to D601.
|
||||
location / {
|
||||
proxy_http_version 1.1;
|
||||
proxy_set_header Host $host;
|
||||
proxy_set_header X-Forwarded-Host $host;
|
||||
proxy_set_header X-Forwarded-Proto $scheme;
|
||||
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
|
||||
proxy_set_header X-Real-IP $remote_addr;
|
||||
proxy_set_header Upgrade $http_upgrade;
|
||||
proxy_set_header Connection "upgrade";
|
||||
proxy_buffering off;
|
||||
proxy_read_timeout 300s;
|
||||
proxy_pass http://backend-core:8080/api/microservices/k3sctl-adapter/proxy/api/services/frontend-dev/proxy$request_uri;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user