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

OZzzy nginx-forum at nginx.us
Wed Jan 2 19:58:04 UTC 2013


Нужна 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