You are not logged in.

#1 2016-02-01 14:41:42

Arch-Hoochie
Member
Registered: 2014-09-23
Posts: 75

nginx hosting files in multiple places returns 403 for files in

nginx hosting files in multiple places returns 403 for files in userspace.

I want nginx to pull files from /usr/share/nginx/html and /home/user/web (user is obviously in place of a username)

Shouldn't sudo ln -s /usr/share/nginx/html/temptest /home/user/web

create a link ? Or is it possible to define the seperate location in nginx it's self I have tried that but it just gives me 403 errors. And I have changed the permissions of the folders to see if that would fix it but seems not.

Any suggestions welcome. It's serving the sites from nginx/html just fine but I want to add other locations.

Offline

Board footer

Powered by FluxBB