mirror of
https://github.com/sergeyyarkov/digital-store.git
synced 2026-10-11 10:19:15 +03:00
20 lines
492 B
Plaintext
20 lines
492 B
Plaintext
server {
|
|
listen 80;
|
|
|
|
gzip on;
|
|
gzip_disable "msie6";
|
|
gzip_types text/plain text/css application/json application/x-javascript text/xml application/xml application/xml+rss text/javascript application/javascript;
|
|
|
|
server_name localhost;
|
|
server_tokens off;
|
|
|
|
location / {
|
|
proxy_pass http://nodejs:3000;
|
|
|
|
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;
|
|
}
|
|
} |