Welcome! Log In Create A New Profile

Advanced

Re: WBB ACP HTTPS Rewrite rule

António P. P. Almeida
June 03, 2013 08:04PM
Try:

server {
server_name forum;

...

location ^~ /acp/ {
return 301 https://forum$request_uri;
}
}

server {
server_name forum;
listen 443 ssl;

....

location / {
return 301 http://forum$request_uri;
}


location ^~ /acp/ {
...
}
}


----appa



On Tue, Jun 4, 2013 at 1:53 AM, Patrik Kernstock <info@pkern.at> wrote:

> 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
>
> _______________________________________________
> nginx mailing list
> nginx@nginx.org
> http://mailman.nginx.org/mailman/listinfo/nginx
>
_______________________________________________
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx
Subject Author Posted

WBB ACP HTTPS Rewrite rule

Patrik Kernstock June 03, 2013 07:54PM

Re: WBB ACP HTTPS Rewrite rule

António P. P. Almeida June 03, 2013 08:04PM

AW: WBB ACP HTTPS Rewrite rule

Patrik Kernstock June 03, 2013 08:40PM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 160
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready