On Tue, Jul 12, 2016 at 03:47:23PM -0400, reaper wrote:
Hi there,
> Yes! That was it. Thank you.
Good stuff.
> Strange that nginx -t didn't say anything wrong with config :(
There's nothing wrong with the config. It is syntactically correct.
When you request /testlocation/, nginx will look f
Yes! That was it. Thank you.
Strange that nginx -t didn't say anything wrong with config :(
Posted at Nginx Forum:
https://forum.nginx.org/read.php?2,268258,268261#msg-268261
___
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/lis
On Tue, Jul 12, 2016 at 10:47:56AM -0400, reaper wrote:
Hi there,
> Hello. I'm obviously missing something but I'm not quite sure what.
You don't have a "root" directive inside the location.
Your "index" directive as-written has three arguments, although you want
it to only have one.
> locat
Hi Reaper
please check the following:
1. check the permissions of the folders.
2. define both root directive in the location.
restart the nginx service and share the results.
Thanks
Shivam
On 12 Jul 2016 20:18, "reaper" wrote:
> Hello. I'm obviously missing something but I'm not quite sure w
Hello. I'm obviously missing something but I'm not quite sure what.
Here's one of my vhosts.
server {
listen 80;
server_name test.local;
access_log /var/log/nginx/access.log;
root /data/www/htdocs/web;
location / {
index index.php;
}
location /testlocation {
i