AppFlowy/frontend/appflowy_web_app/nginx.conf

23 lines
495 B
Nginx Configuration File
Raw Normal View History

2024-06-28 16:42:32 +00:00
server {
2024-06-28 16:57:48 +00:00
listen 3000;
2024-06-28 16:42:32 +00:00
server_name localhost;
2024-06-28 16:47:53 +00:00
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;
}
2024-06-28 16:42:32 +00:00
location /static/ {
root /usr/share/nginx/html;
try_files $uri =404;
}
location /appflowy.svg {
root /usr/share/nginx/html;
try_files $uri =404;
}
}