Re: nginx subsite configuration not working

2020-08-02 Thread Kaushal Shriyan
On Sun, Aug 2, 2020 at 7:06 PM Miguel C wrote: > Looks like it's a Drupal (php) site just pointing it to index.php won't > work you need to have a back end for PHP I.E. php-fpm and setup nginx > to use fastcgi proxy. > > The exact config might be different depending on how urls are handled in

Re: nginx subsite configuration not working

2020-08-02 Thread Miguel C
Looks like it's a Drupal (php) site just pointing it to index.php won't work you need to have a back end for PHP I.E. php-fpm and setup nginx to use fastcgi proxy. The exact config might be different depending on how urls are handled in Drupal, I'm more familiar with WordPress, but I found thi

Re: nginx subsite configuration not working

2020-08-02 Thread Kaushal Shriyan
On Sun, Aug 2, 2020 at 5:18 AM Kaushal Shriyan wrote: > > > On Sat, Aug 1, 2020 at 10:42 PM Thomas Ward > wrote: > >> 301 Redirects don't work for full system paths because they are returned >> to the client saying "go here instead". It then interprets your path as a >> URI which doesn't exist

Re: nginx subsite configuration not working

2020-08-01 Thread Kaushal Shriyan
On Sat, Aug 1, 2020 at 10:42 PM Thomas Ward wrote: > 301 Redirects don't work for full system paths because they are returned > to the client saying "go here instead". It then interprets your path as a > URI which doesn't exist inside your site docroot. > > You might have meant to use `root` ins

Re: nginx subsite configuration not working

2020-08-01 Thread Thomas Ward
data directly from that directory at the path you are accessing it from on the client browser. Original Message From: Kaushal Shriyan Sent: Sat Aug 01 13:09:17 EDT 2020 To: nginx@nginx.org Subject: nginx subsite configuration not working Hi, I am running nginx version: ng

nginx subsite configuration not working

2020-08-01 Thread Kaushal Shriyan
Hi, I am running nginx version: nginx/1.16.1 on CentOS Linux release 7.8.2003 (Core). I am setting up the Nginx subsite configuration. The details are as follows. [root@developerportal www]# pwd /var/www [root@developerportal www]# ls -l total 0 drwxr-xr-x 2 root root 6 Apr 2 18:44 cgi-bin dr

NGINX HTTPS Configuration Not Working

2019-06-14 Thread godwin.oduware
Hello All, I am using a Centos 7 OS and I am using nginx for an Angular application. It was easy configuring nginx to work with http, but when I obtained SSL certificate, key, etc from Cloudflare and tried to configure nginx to work with https it didn't work even after trying several solutions pro

Configuration not working

2014-01-28 Thread Maxmilhas
Hello, I am running Nginx 1.3.0 on CentOS. It serves several domains. Yesterday we tried to change the allowed URIs to access one folder specific to one domain. After the config file change we tried the "nginx -s reload", without apparent success or errors. After this I rebooted the server, b