Quantcast
Channel: Nginx Forum
Viewing all articles
Browse latest Browse all 53287

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

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

Viewing all articles
Browse latest Browse all 53287

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>