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 revision Previous revision
Next revision
Previous revision
linux:nginx [2014/11/27 05:57]
percy [Enable php]
linux:nginx [2016/05/05 13:07] (current)
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 (external edit)