Warning: Use of undefined constant hot - assumed 'hot' (this will throw an Error in a future version of PHP) in /data/wwwroot/lxy.me/wp-content/themes/Ality/inc/sticky-cat.php on line 5


Nginx下Whmcs的伪静态规则

Nginx下Whmcs的伪静态规则
Nginx下Whmcs的伪静态规则如下,直接放到server标签中即可。 server { ......... # Announcements rewrite ^/announcements/([0-9]+)/[a-zA-Z0-9_-]+.html$ /announcements.php?id=$1 last; rewrite ^/announcements$ /announcements.php last; # Downloads rewrite ^/downloads/([0-9]+)/([^/]*)$ /downloads.php?action=displaycat&catid=$1 last; rewrite ^/downloads$ /download...