302 to https

Gena Makhomed gmm at csdoc.com
Tue Oct 13 00:29:39 MSD 2009


Daniel Podolsky wrote:

> Как выдать редирект на https для определенного location?

     location /admin/ {
         rewrite ^ https://$host$request_uri? redirect;
     }

-- 
Best regards,
  Gena






More information about the nginx-ru mailing list