28 lines
599 B
Plaintext
28 lines
599 B
Plaintext
server {
|
|
listen 80 default_server;
|
|
|
|
server_name ${APP_HOST};
|
|
|
|
client_max_body_size 500m;
|
|
|
|
location / {
|
|
proxy_set_header Host $host;
|
|
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
|
|
proxy_set_header X-Real-IP $remote_addr;
|
|
|
|
proxy_pass http://web:3000;
|
|
}
|
|
|
|
location /_nuxt/ {
|
|
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;
|
|
|
|
proxy_pass http://web:3000;
|
|
}
|
|
}
|