22 lines
568 B
Plaintext
22 lines
568 B
Plaintext
server {
|
|
listen 443 ssl ;
|
|
server_name testacabinet.dot-dot.ru;
|
|
|
|
ssl_certificate /etc/nginx/ssl/dot2024.crt;
|
|
ssl_certificate_key /etc/nginx/ssl/dot2024.key;
|
|
|
|
client_max_body_size 10m;
|
|
|
|
location / {
|
|
proxy_pass http://cabinet: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;
|
|
chunked_transfer_encoding off;
|
|
proxy_buffering off;
|
|
proxy_cache off;
|
|
}
|
|
}
|