Quantcast
Channel: Nginx Forum
Viewing all articles
Browse latest Browse all 53287

AW: WBB ACP HTTPS Rewrite rule

$
0
0
Thanks for your fast reply, Antonio!
I forgot to say, that I try to only enable SSL on ACP on not for the rest of
the forum :)

Von: nginx-bounces@nginx.org [mailto:nginx-bounces@nginx.org] Im Auftrag von
António P. P. Almeida
Gesendet: Dienstag, 04. Juni 2013 02:02
An: nginx
Betreff: Re: WBB ACP HTTPS Rewrite rule

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/ {
         ...
     }
}


_______________________________________________
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx

Viewing all articles
Browse latest Browse all 53287

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>