danielgormly/statamic-nginx-docker

403 forbidden

Christophvh opened this issue · 6 comments

When i try to do these steps i get a 403 forbidden from nginx

I've just tried pulling everything and building from scratch. The project still seems to work.
Do you definitely have a directory structure that looks like:

- docker-compose.yml
- readme.md
- statamic
--- installer.php

Check that you have execute permissions on the statamic folder i.e. chmod 700 statamic

yes, I think the problem is related to my nginx config ? do I have to change anything in the provided nginx?

Can you print out your ls -lha on the project directory and statamic directory? Nginx config should be good but it may not be able to read or execute the php files or access certain directories.

I did a chmod 700 on the statamic folder still 403.

Result of ls -lha on the project root:
screen shot 2018-09-27 at 09 46 53

Sorry man, I know this is really late, but you actually have to extract statamic files into <repo-root>/statamic/, not directly into the root folder of the repo.

I may build this into the build process, just couldn't find a static statamic download link when I was building it.