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
Last revisionBoth sides next revision
linux:nginx [2014/11/27 05:57] – [Enable php] percylinux:nginx [2014/11/27 05:58] – [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/pages/linux/nginx.txt · Last modified: 2016/05/05 13:07 by 127.0.0.1