知道你的名字 听过你的声音

rewrite
文章归档

wordpress nginx 伪静态配置

location / { try_files $uri $uri/ /index.php?$args; } rewrite /wp-admin$ $scheme://$host$uri/ permanent; location = /favicon.ico { log_not_found off; access_log off; } location = /robots.txt { allow all…

   2,016   2013-08-22   去围观

Joomla在Nginx下的伪静态规则

百度上搜到的Joomla的nginx伪静态规则很多都是错的,其实Joomla官方已经提供正确的规则,如下 代码中只有前一个location是伪静态规则,此规则适合2.5.x和3.x版本。 # Support Clean (aka Search Engine Friendly) URLs location / { …

   1,851   2013-07-17   去围观