docker-tutorial: 403 forbidden
Hi, I am following your blog post. http://tech.osteel.me/posts/2015/12/18/from-vagrant-to-docker-how-to-use-docker-for-local-web-development.html
I got the first step - welcome to nginx.
on the second step, i get…
403 Forbidden
nginx/1.11.3
Can you help?
thanks in advance!
About this issue
- Original URL
- State: closed
- Created 8 years ago
- Comments: 16 (6 by maintainers)
Here’s a potential solution:
I am actually not using this repo – but I ran into the same problem as the other person. I got mine working. I’m using an identical nginx/default.conf – nothing fancy.
Here’s the fix: Don’t try to hit localhost when the directory is empty.
Here’s the error I get:
Once I added index.php – drop in a phpinfo(): PHP Version 7.0.14
All gravy.
I hope this helps the previous guy and future people who might stumble on this result.