api-gateway/data/etc/nginx/apigw_conf.d/basket_api.conf
Piotr Biernat b0505bb041
All checks were successful
continuous-integration/drone/push Build is passing
continuous-integration/drone/pr Build is passing
v0.1 version: added ci, container, nginx + base apigw config
2022-10-06 17:41:43 +02:00

15 lines
363 B
Plaintext

# 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/;
}