ПРОЕКТЫ 


  АРХИВ 


Apache-Talk @lexa.ru 

Inet-Admins @info.east.ru 

Filmscanners @halftone.co.uk 

Security-alerts @yandex-team.ru 

nginx-ru @sysoev.ru 


  СТАТЬИ 


  ПЕРСОНАЛЬНОЕ 


  ПРОГРАММЫ 



ПИШИТЕ
ПИСЬМА












     АРХИВ :: nginx-ru
Nginx-ru mailing list archive (nginx-ru@sysoev.ru)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Firefox + rewrite


  • To: nginx-ru@xxxxxxxxx
  • Subject: Firefox + rewrite
  • From: "Fixid" <nginx-forum@xxxxxxxx>
  • Date: Mon, 24 Oct 2011 09:12:48 -0400
  • Dkim-signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=mickey.jlkhosting.com; s=x; h=Date:Sender:From:Message-ID:Content-Transfer-Encoding:Content-Type:Subject:To; bh=clGvN7RdL6l5huqXG/28zeiFbP6iCX/73hnrqPkp9EQ=; b=khqkMwyGrSMkr/69RqMQYHEmi5ZcC5r7KlKJq646OTytSsHGnvc0mchcx+DPJY4kMGNCGE92eVVi+PLW1iu7UKlhq8vP4+UDyIs9zdUPhg8qEtqHGUYTHL3lt2aR+hvf;

Есть фронтенд с Nginx
Конфиг:
 server {
        listen  80;
        server_name  www.syte.com;
        rewrite ^/(.*)$ https://$server_name/$1 permanent;
         }


    server {
        #limit_conn   myzone  10;
        listen       80;
        server_name  syte.com;

        #charset koi8-r;

        #access_log  logs/host.access.log  main;

        rewrite ^/(.*)$ https://$server_name/$1 permanent;

        location / {
......
        }

        error_page  404              /404.html;

        location = /404.html {
            root   /usr/share/nginx/html;
        }
    }

Нужно при заходе из Firefox сохранять www
если он есть

Posted at Nginx Forum: 
http://forum.nginx.org/read.php?21,217192,217192#msg-217192

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


 




Copyright © Lexa Software, 1996-2009.