WBB ACP HTTPS Rewrite rule

Patrik Kernstock info at pkern.at
Mon Jun 3 23:53:44 UTC 2013


Hello,

I'm trying since about half an hour to get SSL-only on the administration
panel of Woltlab burning board working, but without success. The rule will
just be ignored.

What I currently have:
    location /acp/(.*)$ {
      if ($server_port = 80) {
        rewrite ^/(.*)$ https://forum/acp/$1 redirect;
      }
    }

Thanks for any help! :)

Kind regards,
Patrik Kernstock



More information about the nginx mailing list