fix: nginx optional resolution for ai service
This commit is contained in:
parent
b36715dc24
commit
49fe92c725
|
|
@ -94,7 +94,8 @@ http {
|
||||||
|
|
||||||
# AppFlowy AI
|
# AppFlowy AI
|
||||||
location /ai {
|
location /ai {
|
||||||
proxy_pass http://ai:5001;
|
set $ai ai;
|
||||||
|
proxy_pass http://$ai:5001;
|
||||||
proxy_set_header Host $host;
|
proxy_set_header Host $host;
|
||||||
proxy_pass_request_headers on;
|
proxy_pass_request_headers on;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue