I installed Flarum using the CLI as instructed here. http://flarum.org/docs/installation/
I have my nginx config here:
server{
listen 80;
server_name dev.hostname.com;
root /path/to/flarum;
location / {
index index.php
try_files $uri $uri/ /index.php?$query_string;
}
location /api {
try_files $uri $uri/ /api.php?$query_string;
}
location /admin {
try_files $uri $uri/ /admin.php?$query_string;
}
location /flarum {
deny all;
return 404;
}
location ~ .php$ {
fastcgi_split_path_info ^(.+.php)(/.+)$;
fastcgi_pass 127.0.0.1:9000;
fastcgi_index index.php;
include /usr/local/etc/nginx/fastcgi.conf;
}
}
I have also set my /etc/hosts
127.0.0.1 dev.hostname.com
I have sucessfully run flarum/flarum install
But when I ran dev.hostname.com in my web browser. It returned "Cannot GET http://dev.hostname.com"
Currently, I've tried chmod on the project folder with 777 (this includes flarum/storage) but no progress so far.
What am I missing here?