mirror of
https://github.com/ijaric/voice_assistant.git
synced 2025-12-16 06:16:16 +00:00
ci: nginx templates
This commit is contained in:
11
src/fastapi_app/nginx/templates/api.conf.template
Normal file
11
src/fastapi_app/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:${SERVER_PORT}/api;
|
||||
proxy_set_header X-Request-Id $request_id;
|
||||
}
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user