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

Permission denied for nginx files #18

Open
rolimat opened this issue Oct 16, 2018 · 1 comment
Open

Permission denied for nginx files #18

rolimat opened this issue Oct 16, 2018 · 1 comment

Comments

@rolimat
Copy link

rolimat commented Oct 16, 2018

Hi!! Im trying to run your examples on Ubuntu 16.04. Looks like everything is working fine except the page renders without CSS.

I got this error on the console:

nginx_1 | 2018/10/16 18:10:25 [error] 7#7: *1 open() "/usr/share/nginx/html/common/page.css" failed (13: Permission denied), client: 172.19.0.1, server: , request: "GET /common/page.css HTTP/1.1", host: "127.0.0.1:3000", referrer: "http://127.0.0.1:3000/"

Would you, please, help me? Thanks!

@rolimat
Copy link
Author

rolimat commented Oct 16, 2018

ei just fixed it running this command in another different console:

sudo docker exec -ti <container_id> chown -R nginx /usr/share/nginx/html

I guess there should be a better way of fixing it

Thanks guys.

PS: this project is amazing, I really love it :)

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

No branches or pull requests

1 participant