opengis/nginx/default.conf
Flook c57efd576c
Some checks reported errors
continuous-integration/drone/push Build encountered an error
Initial commit of crud_app
2025-04-15 07:15:12 +07:00

22 lines
584 B
Plaintext

server {
listen 80;
location / {
proxy_pass http://ms_frontend:80;
proxy_http_version 1.1;
proxy_set_header Host $host;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection 'upgrade';
proxy_cache_bypass $http_upgrade;
}
location /api/ {
proxy_pass http://ms_employee_service:8080;
proxy_http_version 1.1;
proxy_set_header Host $host;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection 'upgrade';
proxy_cache_bypass $http_upgrade;
}
}