arkids-nginx/configs/nginx.conf.dev

26 lines
540 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;
}
location /static {
proxy_pass https://arkids-main-backend-development:5000;
}
listen 80;
listen [::]:80;
}