Files
resty_functions/conf/local_linux/ai_api.conf
T
2022-04-11 15:43:32 +08:00

12 lines
292 B
Plaintext

server {
# https://serverfault.com/questions/798734/use-variable-for-server-name-in-nginx#
# server_name $servername;
server_name "ai_api.localhost";
listen 8090;
client_max_body_size 10M;
location /api/v1/ai_api/ {
proxy_pass http://127.0.0.1:5000/;
}
}