Coop1979
Well-known member
I'm finishing up an import from vB 3.8 + VBSEO and am trying to setup the rewrite rules for Nginx. Here are the rules for Apache:
I tried using this site to convert the RewriteRules, but this rewrite doesn't seem to be working. Any ideas?
Code:
RewriteRule [^/]+/([\d]+)-.+-([\d]+).html showthread.php?t=$1&page=$2 [NC,L]
RewriteRule [^/]+/([\d]+)-.+.html showthread.php?t=$1 [NC,L]
I tried using this site to convert the RewriteRules, but this rewrite doesn't seem to be working. Any ideas?
Code:
location /forums {
rewrite ^/forums/[^/]+/([d]+)-.+.html /showthread.php?t=$1 last;
}