arkids-nginx/configs/nginx.conf.dev
2023-05-09 10:01:52 +03:00

22 lines
453 B
Plaintext

server {
server_name localhost;
location / {
proxy_pass http://arkids-main-frontend-development:3000;
# Allow the use of websockets
proxy_http_version 1.1;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection 'upgrade';
proxy_set_header Host $host;
proxy_cache_bypass $http_upgrade;
}
location /api {
proxy_pass http://arkids-main-backend-development:5000;
}
listen 80;
listen [::]:80;
}