difference
The difference between the revision you selected and the current version is displayed here.
servers [2014/07/04 02:47] sluke [nginx] |
servers [2017/02/25 15:50] (current version) sluke |
| |
:!: **Please change your domain in the above configuration to your own actual domain name and directory storage address** | :!: **Please change your domain in the above configuration to your own actual domain name and directory storage address** |
| |
| ==== caddy ==== |
| <code conf> |
| yoursite.com { |
| tls [email protected] |
| root /home/wwwroot/yoursite.com |
| gzip |
| fastcgi / 127.0.0.1:9000 php |
| rewrite / { |
| if {path} not_match (/usr/|/admin/) |
| to /index.php{uri} |
| } |
| } |
| </code> |
| |