react-spring/nginx.conf

15 lines
325 B
Nginx Configuration File
Raw Permalink Normal View History

2024-10-14 17:08:21 +00:00
server {
listen 80;
server_name example.com;
location / {
proxy_pass http://localhost: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;
}
}