发布时间:2021-01-08
# nginx configuration by winginx.com location / { if ($http_host ~* "^(ssh5\.cn)(:80)?"){ rewrite ^/(.*) http://www.ssh5.cn/$1 redirect; } } location /tags { rewrite ^/tags-(.*)-(.*)$ /e/tags/index.php?tagid=$1&page=$2; } location /plug { rewrite ^/plug/tags\.asp(.*)$ /e/tags/?tagname=$1 redirect; } |
location / { try_files $uri $uri/ /index.php?$args; } rewrite /wp-admin$ $scheme://$host$uri/ permanent; |
location / { rewrite ^/p/(.*)$ /read-$1 permanent; if ($http_host ~* "^(budapei\.com)(:80)?"){ rewrite ^/(.*) http://www.budapei.com/$1 redirect; } if (!-e $request_filename) { rewrite ^((.*)/)?(.*).html$ $1/index.php last; } } |
全站搜索