Welcome! Log In Create A New Profile

Advanced

Re: Редирект на http://*.мой домен.ru как побороть?

Maxim Dounin
October 04, 2010 01:38PM
Hello!

On Mon, Oct 04, 2010 at 01:21:06PM -0400, piroman-lynx wrote:

> У меня на сервер нацелены все поддомены
> из моего домена (*.мойдомен.ru).
> В конфиге nginx прописано:
> server_name "phpmyadmin.мойдомен.ru";
>
> обработка fastcgi у меня такая:
> location ~ \.php {
>
> fastcgi_pass 127.0.0.1:9001;
>
> fastcgi_index index.php;
>
> fastcgi_param SCRIPT_FILENAME
> /home/piroman/www/phpmyadmin.мойдомег.ru/$fastcgi_script_name;
>
> include fastcgi_params;
>
> fastcgi_intercept_errors on;
>
> }
>
> при запросе в браузере
> "http://phpmyadmin.мойдомен.ru/phpmyadmin" получаю
> редирект на "http://*.мойдомен.ru"

http://sysoev.ru/nginx/docs/http/ngx_http_core_module.html#server_name_in_redirect

Maxim Dounin

_______________________________________________
nginx-ru mailing list
nginx-ru@nginx.org
http://nginx.org/mailman/listinfo/nginx-ru
Subject Author Posted

Re: Редирект на http://*.мой домен.ru как побороть?

Maxim Dounin October 04, 2010 01:38PM

Re: Редирект на http://*.мой домен.ru как побороть?

piroman-lynx October 05, 2010 01:32AM

Re: Редирект на http://*.мой домен.ru как побороть?

piroman-lynx October 05, 2010 02:26AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

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