Trying to setup SSL - Error too many redirects

2018-08-08 Thread fugee ohu
server { listen 80; listen [::]:80; return 301 https://$host$request_uri; ssl_certificate /etc/ssl/certs/bluegrasscounty/certificate.crt; ssl_certificate_key /etc/ssl/certs/bluegrasscounty/private.key; server_name *.bluegrasscounty.com www.bluegrasscounty.com bluegrasscounty.com;

Re: HTTPS over port 443

2018-08-08 Thread fugee ohu
server { listen 80; listen [::]:80; return 301 https://$host$request_uri; ssl_certificate /etc/ssl/certs/sitename/certificate.crt; ssl_certificate_key /etc/ssl/certs/sitename/private.key; server_name *.sitename.com www.sitename.com sitename.co$ charset utf-8; location / {

Re: HTTPS over port 443

2018-08-08 Thread fugee ohu
I made a little progress What happens in a browser now is it says "ERR_TOO_MANY_REDIRECTS" $ curl -v sitename.com * Rebuilt URL to: sitename.com/ * Trying 108.41.240.225... * TCP_NODELAY set * Connected to sitename.com (108.41.240.225) port 80 (#0) > GET / HTTP/1.1 > Host: sitename.com > User-Ag

Re: How to install njs after building from sources

2018-08-08 Thread Dmitry Volyntsev
On 08.08.2018 17:06, Mustafa Aldemir wrote: Hello, I built NGINX and njs from sources. Now I have njs executable and some static object files under ~/njs/build. How should I install njs or configure NGINX to run with njs? Hi Mustafa, Please, use the instruction from here http://nginx.or

How to install njs after building from sources

2018-08-08 Thread Mustafa Aldemir
Hello, I built NGINX and njs from sources. Now I have njs executable and some static object files under ~/njs/build. How should I install njs or configure NGINX to run with njs? regards, mustafa ___ nginx mailing list nginx@nginx.org http://mailman.ngi

Re: nginx, php7.0-fpm and laravel, not able to set it up when the url has a prefix which the server doesn't have

2018-08-08 Thread Plato Puthur
Hi, Thanks for replying. I have 3 containers, one with nginx, another 2 containers with php-fpm on them. Both php-fpm are sharing a volume mounted from local system, but on separate paths. The php-fpm container files are serving as api webservices. Both are having different set of files, but the pa

Re: Getting NGINX to view an alias

2018-08-08 Thread Francis Daly
On Tue, Jul 31, 2018 at 12:49:31AM -0700, Gregory Schultz wrote: Hi there, > I'm new at NGINX and I'm having difficulty in setting up to read an alias. alias should work per its documentation (http://nginx.org/r/alias), or else there is a significant bug. What I suspect is happening here is tha

Re: HTTPS over port 443

2018-08-08 Thread Francis Daly
On Tue, Aug 07, 2018 at 07:20:58PM -0400, fugee ohu wrote: > I don't think there's rails passenger settings Adding passenger to the > Gemfile only causes the app to use passenger in development mode > instead of the default (presently puma) Ok. What is the output of curl -v https://www.sitenam