v0.1 version: added ci, container, nginx + base apigw config
This commit is contained in:
14
data/etc/nginx/apigw_conf.d/basket_api.conf
Normal file
14
data/etc/nginx/apigw_conf.d/basket_api.conf
Normal file
@@ -0,0 +1,14 @@
|
||||
# Basket API
|
||||
#
|
||||
location /api/basket/ {
|
||||
access_log /var/log/nginx/basket_access.log main;
|
||||
error_log /var/log/nginx/basket_error.log warn;
|
||||
|
||||
auth_request /_validate_apikey;
|
||||
|
||||
proxy_set_header Host $host;
|
||||
proxy_set_header X-Real-IP $remote_addr;
|
||||
proxy_set_header User-Agent "api-gw"; # TMP - FIXME
|
||||
|
||||
proxy_pass http://basket_api/;
|
||||
}
|
||||
Reference in New Issue
Block a user