I'm accessing Flarum with this path http://rootUrl/support
I can signup / login add a topic etc...
However when I try to go to the administration panel http://rootUrl/support/admin it gives me a 403 error, and when I try to hit http://rootUrl/support/api it gives me a 404 error.
I'm using nginx 1.8.1 and php5.6 on CentOS.
nginx.conf on the server block:
location /support {
try_files $uri $uri/ /support/index.php?$query_string;
}
location /support/api {
try_files $uri $uri/ /support/api.php?$query_string;
}
location /support/admin {
try_files $uri $uri/ /support/admin.php?$query_string;
}
location /flarum {
deny all;
return 404;
}
location ~* \.php$ {
fastcgi_split_path_info ^(.+.php)(/.+)$;
fastcgi_pass 127.0.0.1:9000;
include fastcgi_params;
fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
fastcgi_index index.php;
}
Is anything wrong on my conf ?
Also, when browsing the tags through the forum http://rootUrl/support/t/general, it works, but when refreshing the page with http://rootUrl/support/t/general on the bar address of the browser, it throws me a 404 error.
Thanks.