Update installation_others.rst

Update https rewrite.
See http://wiki.nginx.org/Pitfalls#Taxing_Rewrites
This commit is contained in:
Leonard 2013-03-15 12:31:33 +01:00
parent 3d5b284f9d
commit f3b5cd18ec

View File

@ -19,7 +19,7 @@ Nginx Configuration
server {
listen 80;
server_name cloud.example.com;
rewrite ^ https://$server_name$request_uri? permanent; # enforce https
return 301 https://$server_name$request_uri; # enforce https
}
server {