Skip to content


UCenter Home 1.5 Nginx rewrite

UCenter Home 1.5 Nginx rewrite http://www.discuz.net/forum-149-1.html

 

 rewrite ^/(space|network)-(.+).html$ /$1.php?rewrite=$2 last;   rewrite ^/(space|network).html$ /$1.php last;   rewrite ^/([0-9]+)$ /space.php?uid=$1 last;

以上规则含用[Nginx CVE‑2026‑42945高危漏洞](https://blog.c1gstudio.com/archives/2227),2026/05/15 更新新规则

rewrite ^/(?
space|network)-(?.+)\.html$ /${type}.php?rewrite=${rewrite} last; rewrite ^/(? space|network)\.html$ /${type}.php last; rewrite ^/(? [0-9]+)$ /space.php?uid=${uid} last;

Posted in Nginx, 技术.

Tagged with , .


No Responses (yet)

Stay in touch with the conversation, subscribe to the RSS feed for comments on this post.



Some HTML is OK

or, reply to this post via trackback.