Recent Posts

Caution: Greetings to all visitors. The site is working in short. Links Please skip the link to view any topic and thank you for visiting
header ads

Location directive is not working correctly nginx

I am trying to open the location of my index.php file for example:

The root folder is:

/path/to/my/root/folder
Code (markup):
The the url a user will use to get to this root folder is:

https://sub.mydomain.net/server/client
Code (markup):
Every time I use this location declaration I get a 404 or forbidden message


location /server/client/ {
          alias /path/to/my/root/folder;
          try_files $uri $uri/ /index.php$uri$is_args$args;
       }
Code (markup):
I just cannot...

Location directive is not working correctly nginx

from Site & Server Administration https://ift.tt/2RFeoQa
via IFTTT

Post a Comment

0 Comments