![]() |
![]() |
Subject: | nginx configuration +ssl |
Author: | Tommy |
Posted: | 2016-02-05 16:44 |
Zenoss 4.2.3
Can someone past nginx configuration if use https I am interested in redirect setting 8080 port to 443.
Thanks
Tommy
Subject: | There is no real redirect. |
Author: | Jan Garaj |
Posted: | 2016-02-05 16:55 |
There is no real redirect. Only reverse proxy - http://wiki.zenoss.org/Newsletter:5/Encrypt_All_the_Bits
Devops Monitoring Expert advice:
Dockerize/automate/monitor all the things.
DevOps stack:
Docker / Kubernetes / Mesos / Zabbix / Zenoss / Grafana / Puppet / Ansible / Vagrant / Terraform /
Elasticsearch
Subject: | nginx configuration +ssl |
Author: | Tommy |
Posted: | 2016-02-05 17:19 |
Sorry, I made a mistake.
I meant a rewrite rule.
In my configuration file I have:
rewrite ^(.*)$ /VirtualHostBase/https/$host:443$1 break;
I see also this in the newletter you pasted.
But yest I found this:
BAD:
rewrite ^/(.*)$ http://example.com/$1 permanent;
GOOD:
rewrite ^ http://example.com$request_uri permanent;
in nginx tutorial configuration site...
https://www.nginx.com/resources/wiki/start/topics/tutorials/config_pitfalls/
So, is mine configuration ok
Regards,
Tommy
< |
Previous Openstack Provider View - Multi Region Support |
Next Error with amazon monitoring |
> |