We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Web API
Proxy Docker container with nginx image is not consuming the provided API-Key
using docker-compose.yml instruction:
proxy: build: ./client/ByteBuoy.ProxyNginx/ ports: - "8080:80" environment: - API_KEY=bb_JIIHHAA - API_SERVICE_URL=http://api:5000
and using Dockerfile instructions
FROM nginx:latest ENV API_KEY=XXXXX COPY nginx.conf /etc/nginx/nginx.conf #conf.d/default.conf COPY default.conf.template /etc/nginx/templates/default.conf.template #CMD /bin/bash -c "envsubst '$${API_KEY}' < /etc/nginx/templates/nginx.conf.template > /etc/nginx/nginx.conf && nginx -g 'daemon off;'" # Command to run when the container starts CMD /bin/bash -c "envsubst '$${API_KEY}' < /etc/nginx/templates/default.conf.template > /etc/nginx/nginx.conf && nginx -g 'daemon off;'" # CMD nginx -g 'daemon off;'
bytebuoy-proxy-1 | 2024/01/27 23:39:08 [emerg] 7#7: unknown "api_key" variable bytebuoy-proxy-1 | nginx: [emerg] unknown "api_key" variable
No response
0.0.1
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Is there an existing issue for this?
Product
Web API
Describe the bug
Proxy Docker container with nginx image is not consuming the provided API-Key
Steps to reproduce
using docker-compose.yml instruction:
and using Dockerfile instructions
Relevant log output
Additional Context?
No response
Version
0.0.1
The text was updated successfully, but these errors were encountered: