Welcome! Log In Create A New Profile

Advanced

Re: 302 to https

Denis F. Latypoff
October 12, 2009 04:40PM
13.10.09, 00:06, "Maxim Dounin" <mdounin@mdounin.ru>:

> Hello!
> On Mon, Oct 12, 2009 at 11:37:28PM +0400, Daniel Podolsky wrote:
> > День добрый!
> >
> > Я сильно туплю, наверное
> >
> > Как выдать редирект на https для определенного location?
> location /something-you-need-in-https {
> rewrite ^ https://$host/$request_uri? redirect;
> }
> http://sysoev.ru/nginx/docs/http/ngx_http_rewrite_module.html#rewrite
> >
> > И куда в дальнейшем обращаться с подобными вопросами?
> Лучше всего начинать с чтения документации и/или гугла. Если не
> помогает - то сюда, но обычно помогает.

Гугл обычно предлагает юзать if (!-e $request_filename).
Так что лучше - сюда.

> Maxim Dounin

--
br, Denis F. Latypoff.
Subject Author Posted

302 to https

Daniel Podolsky October 12, 2009 03:50PM

Re: 302 to https

Maxim Dounin October 12, 2009 04:14PM

Re: 302 to https

Denis F. Latypoff October 12, 2009 04:40PM

Re: 302 to https

Gena Makhomed October 12, 2009 04:40PM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 157
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