User Tools

Site Tools


linux:nginx

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
linux:nginx [2014/11/26 21:57] – [Enable php] percylinux:nginx [2014/11/26 21:58] (current) – [nginx all https] percy
Line 75: Line 75:
 ===== nginx all https ===== ===== nginx all https =====
 To enable redirect all the http request to https To enable redirect all the http request to https
-    rewrite ^(.*) https://$host$1 permanent; +    rewrite ^(.*) https://$host$1 permanent;    
-    +
 ==== generate the ssl certificate ==== ==== generate the ssl certificate ====
  
/var/www/dokuwiki/wiki/data/attic/linux/nginx.1417039031.txt.gz · Last modified: (external edit)