mirror of
https://github.com/AppFlowy-IO/AppFlowy.git
synced 2024-08-30 18:12:39 +00:00
fix: deploy
This commit is contained in:
parent
9ab1ed8ccb
commit
967a647342
2
.github/workflows/deploy_test_web.yaml
vendored
2
.github/workflows/deploy_test_web.yaml
vendored
@ -71,4 +71,4 @@ jobs:
|
||||
cd appflowy-web-app
|
||||
docker build -t appflowy-web-app .
|
||||
docker rm -f appflowy-web-app || true
|
||||
docker run -d -p 3000:3000 --env-file .env --name appflowy-web-app appflowy-web-app
|
||||
docker run -d -p 3000:80 --env-file .env --name appflowy-web-app appflowy-web-app
|
||||
|
@ -1,7 +1,16 @@
|
||||
server {
|
||||
listen 3000;
|
||||
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;
|
||||
|
Loading…
Reference in New Issue
Block a user