Friday, July 27, 2012

Force ssl in nginx with redirect

Just edit your site configuration file make sure you have a site setup for HTTPS - SSL (port 443)
edit the portion for HTTP:


server {
    listen      80;
    server_name server.yourdomain.tld;
    rewrite     ^   https://$server_name$request_uri? permanent;
}

save and restart nginx
Provided by: ForthScale systems, scalable infrastructure experts

No comments:

kubeflow Istio configuration for trustworthy JWTs on rancher 2.x

Introduction: For some reason some of the default feature gates are not turned on in rancher.  So deploying Kubeflow or any workload that us...