mirror of
https://github.com/AppFlowy-IO/AppFlowy.git
synced 2024-08-30 18:12:39 +00:00
23 lines
493 B
Nginx Configuration File
23 lines
493 B
Nginx Configuration File
server {
|
|
listen 80;
|
|
server_name localhost;
|
|
|
|
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;
|
|
}
|
|
|
|
location /static/ {
|
|
root /usr/share/nginx/html;
|
|
try_files $uri =404;
|
|
}
|
|
|
|
location /appflowy.svg {
|
|
root /usr/share/nginx/html;
|
|
try_files $uri =404;
|
|
}
|
|
} |