Trying to setup SSL - Error too many redirects

fugee ohu fugee279 at gmail.com
Thu Aug 9 00:57:00 UTC 2018


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;
   charset utf-8;
   location / {
   root /usr/home/fugee/websites/bluegrasscounty/public;
   rails_env production;
#   passenger_enabled on;
    }
   }


More information about the nginx mailing list