Skip to content
New issue

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

fix nginx permissions in docker image #985

Merged
merged 1 commit into from
Feb 19, 2020
Merged

Conversation

jschaul
Copy link
Member

@jschaul jschaul commented Feb 19, 2020

This fixes the error seen on our kubernetes deployments:

Starting nginx
Setting up watches for /etc/wire/nginz/upstreams
nginx PID: 9
Setting up watches.
Watches established.
2020/02/19 08:22:55 [emerg] 10#0: mkdir() "/var/cache/nginx/client_temp" failed (2: No such file or directory)
nginx: [emerg] mkdir() "/var/cache/nginx/client_temp" failed (2: No such file or directory)

@jschaul
Copy link
Member Author

jschaul commented Feb 19, 2020

Manually tested to fix the issue by doing the following:

make docker
docker tag quay.io/wire/nginz:local quay.io/wire/nginz:2.73.15
docker push quay.io/wire/nginz:2.73.15

which overrides the broken build.

@arianvp arianvp self-requested a review February 19, 2020 16:38
@arianvp arianvp merged commit 59feffd into develop Feb 19, 2020
@arianvp arianvp deleted the fix/nginx-docker-permissions branch February 19, 2020 16:40
@fisx fisx mentioned this pull request Mar 10, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants