22 lines
451 B
Plaintext
22 lines
451 B
Plaintext
server {
|
|
server_name localhost;
|
|
|
|
location / {
|
|
proxy_pass http://arkids-main-frontend-production: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-production:5000;
|
|
}
|
|
|
|
listen 80;
|
|
listen [::]:80;
|
|
}
|