mirror of
https://github.com/ijaric/voice_assistant.git
synced 2025-12-16 14:36:17 +00:00
Basic Docker files
This commit is contained in:
11
src/fastapi_example/nginx/templates/api.conf.template
Normal file
11
src/fastapi_example/nginx/templates/api.conf.template
Normal file
@@ -0,0 +1,11 @@
|
||||
server {
|
||||
listen ${NGINX_PORT} default_server;
|
||||
listen [::]:${NGINX_PORT} default_server;
|
||||
server_name _;
|
||||
|
||||
location /api {
|
||||
proxy_pass http://api:${API_PORT}/api;
|
||||
proxy_set_header X-Request-Id $request_id;
|
||||
}
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user