chore: try add nginx config
This commit is contained in:
parent
94af813b04
commit
0aa10d93c7
|
|
@ -105,6 +105,16 @@ http {
|
||||||
add_header 'Access-Control-Allow-Methods' 'GET, POST, PUT, DELETE, PATCH' always;
|
add_header 'Access-Control-Allow-Methods' 'GET, POST, PUT, DELETE, PATCH' always;
|
||||||
add_header 'Access-Control-Allow-Headers' 'Content-Type, Authorization, Accept, Client-Version' always;
|
add_header 'Access-Control-Allow-Headers' 'Content-Type, Authorization, Accept, Client-Version' always;
|
||||||
add_header 'Access-Control-Max-Age' 3600 always;
|
add_header 'Access-Control-Max-Age' 3600 always;
|
||||||
|
|
||||||
|
location ~* ^/api/workspace/([a-zA-Z0-9_-]+)/publish$ {
|
||||||
|
set $appflowy_cloud appflowy_cloud;
|
||||||
|
proxy_pass http://$appflowy_cloud:8000;
|
||||||
|
|
||||||
|
proxy_http_version 1.1;
|
||||||
|
chunked_transfer_encoding on;
|
||||||
|
proxy_buffering off;
|
||||||
|
proxy_cache off;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
# AppFlowy AI
|
# AppFlowy AI
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue