Nginx-ru mailing list archive (nginx-ru@sysoev.ru)
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Hudson / tomcat
- To: nginx-ru@xxxxxxxxx
- Subject: Hudson / tomcat
- From: "hg_04" <nginx-forum@xxxxxxxx>
- Date: Tue, 04 May 2010 11:26:26 -0400
- Dkim-signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=mickey.jlkhosting.com; s=x; h=Sender:From:Message-ID:Content-Transfer-Encoding:Content-Type:Subject:To:Date; bh=U79hzdZUi6IDxr81Pyvnx6+tibGm6rPnZrMmoQFu7XA=; b=dk+bkITue8lW3eTXKRZ0oHaHi+mjj6Rd4B9r1Q1MzIHA1nIQ1XOljhqQZIS87YBKERrrAvyNTU3WVTQcJHRTEMD1gPc8NiOFJ+GbPXiZXYpADEJKbahfmkSuKscYlmgs;
как переписать это под nginx? собственно интересует только ajp. При proxy_pass
получаю в ответ только 404 Generated by Winstone Servlet Engine v0.9.10.
если на обратиться по прямой ссылке(8102) все работает
[code]
<VirtualHost *:80>
ServerAdmin your@xxxxxxxxxxxxxxxxx
DocumentRoot "/opt/apache/httpd/htdocs"
ServerName hudson.yourdomain.com
ErrorLog "logs/hudson-error_log"
ProxyPass /hudson/ ajp://127.0.0.1:8102/hudson/
ProxyPassReverse /hudson/ ajp://127.0.0.1:8102/hudson/
<Location />
Order allow,deny
Allow from all
</Location>
<Location /hudson/>
AuthType basic
AuthName "Hudson"
AuthUserFile "/opt/apache/httpd/conf/.htpasswd"
</Location>
</VirtualHost>
[/code]
Posted at Nginx Forum: http://forum.nginx.org/read.php?21,82513,82513#msg-82513
_______________________________________________
nginx-ru mailing list
nginx-ru@xxxxxxxxx
http://nginx.org/mailman/listinfo/nginx-ru
|