Nginx-ru mailing list archive (nginx-ru@sysoev.ru)
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Редирект на выбранный порт
Нужна 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
|