Welcome! Log In Create A New Profile

Advanced

Trying to setup SSL - Error too many redirects

Posted by fugee ohu 
fugee ohu
Trying to setup SSL - Error too many redirects
August 09, 2018 03:00AM
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;
}
}
_______________________________________________
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx
Sorry, only registered users may post in this forum.

Click here to login