This repo is used to run a nginx with a modified configuration so that the logging is reduced and the client IP addresses are eliminated from the logs.
The custom configuration file is in the nginx.conf
file.
This image is used for multiple other PrioBike services e.g. Priobike-Privacy-Policy-Service, Priobike-Load-Service and more.
The easiest way to run the priobike-nginx us to use the contained Dockerfile
:
docker build -t priobike-nginx . && docker run -p80:80 --rm priobike-nginx
- Normally we have three branches:
main
,stable
andrelease
, used for ourstaging
,beta
/production
andrelease
environment. Some of our services still have a legacy naming scheme and usemaster
as the default branch. Since the services fetch the nginx image based on their own branch name, we also need to build the image with amaster
tag. Ideally it should always mirror themain
branch.
We highly encourage you to open an issue or a pull request. You can also use our repository freely with the MIT
license.
Every service runs through testing before it is deployed in our release setup. Read more in our PrioBike deployment readme to understand how specific branches/tags are deployed.
Help us improve this documentation. If you have any problems or unclarities, feel free to open an issue.