HTTP Anti-Virus Proxy
http://havp.hege.li/forum/

HAVP and NginX
http://havp.hege.li/forum/viewtopic.php?f=3&t=603
Page 1 of 1

Author:  bob62 [ 29 Jun 2011 16:07 ]
Post subject:  HAVP and NginX

Hello

I try to setup nginx with HAVP as proxy parent but i get Invalid request as resulting webpage.

HAVP is working fine with our Apache Setup but our goal is to move on nginx or lighthttpd.

My guess is that ngix mod_proxy, which is HTTP/1.0 only, can't talk with HAVP.

Thanks for your help

Here is my ngix conf:

server
{
### server port and name ###
listen 3127;
server_name bob.com;

access_log logs/access.log;
error_log logs/error.log;

##############################################

location /
{
proxy_pass http://127.0.0.1:8080/;
### force timeouts if one of backend is died ##
proxy_next_upstream error timeout invalid_header http_500 http_502 http_503;

### Set headers ####
proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;

proxy_pass_request_headers on;
proxy_pass_request_body on;

### By default we don't want to redirect it ####
proxy_redirect off;
}
}

Page 1 of 1 All times are UTC + 2 hours [ DST ]
Powered by phpBB® Forum Software © phpBB Group
https://www.phpbb.com/