ПРОЕКТЫ 


  АРХИВ 


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]

Re: Редирект на выбранный порт


  • To: nginx-ru@xxxxxxxxx
  • Subject: Re: Редирект на выбранный порт
  • From: "OZzzy" <nginx-forum@xxxxxxxx>
  • Date: Wed, 02 Jan 2013 14:58:04 -0500
  • Dkim-signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=tigger.jlkhosting.com; s=x; h=Date:Sender:From:References:In-Reply-To:Message-ID:Content-Transfer-Encoding:Content-Type:Subject:To; bh=5So0eaHoMfTqV/vcrRnamPrhoW+ucameDUWzz8PQC6E=; b=PexRtlgw2KYvd42HusGeKfTDVxceyOv1CWyMIcidz6XyQoVzpjC0c8TmKnBoPuXwdJqyw7IjIxH6TYh3JXZiqFY+GDp8ycuaxKRI94swCjdGU8OTH6oszIOL5Pm1pnG1;
  • In-reply-to: <7FFC1FA3-E719-48C5-B650-044EC6D2FEA2@sysoev.ru>
  • References: <7FFC1FA3-E719-48C5-B650-044EC6D2FEA2@sysoev.ru>

Нужна catalina

в конфиге : 
<Connector address="127.0.0.1" port="8080" maxHttpHeaderSize="8192"
               maxThreads="100" minSpareThreads="5" maxSpareThreads="10"
               enableLookups="false" redirectPort="443" acceptCount="100"
               connectionTimeout="20000" disableUploadTimeout="true" />

 сейчас такая конфигурация в nginx:
-------------------------------------------------------------
server {
        listen X.X.X.X:35002;
        access_log      /var/log/snow/admin_access.log;
        location /snow {
                root /opt/jakarta-tomcat-5.5.9/webapps;
                                index index.jps index.php index.html index.htm; 
}
         location ~ \.jsp$  {      
                fastcgi_pass   127.0.0.1:9000;
                fastcgi_index  index.jsp;
                fastcgi_param SCRIPT_FILENAME
/opt/jakarta-tomcat-5.5.9/webapps$fastcgi_script_name;
                include        fastcgi_params;
            allow X.X.X.X;
                        allow X.X.X.X;
    deny all;      
        }
        location ~
/\.(ht|svn|cvs|hg|txt|log|class|cgi|xml|conf|config|properties|jar) {
                deny  all;
        }
}
------------------------------------------------------------

Ответ в браузере:
404 Not Found

nginx/0.7.67

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

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


 




Copyright © Lexa Software, 1996-2009.