Merge pull request #596 from AppFlowy-IO/nginx-ai-config
fix: nginx optional resolution for ai service
This commit is contained in:
commit
45bfcc0a31
|
|
@ -94,7 +94,8 @@ http {
|
|||
|
||||
# AppFlowy AI
|
||||
location /ai {
|
||||
proxy_pass http://ai:5001;
|
||||
set $ai ai;
|
||||
proxy_pass http://$ai:5001;
|
||||
proxy_set_header Host $host;
|
||||
proxy_pass_request_headers on;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue