HTTPD reverse proxy

Issues related to applications and software problems
Post Reply
andrewm659
Posts: 45
Joined: 2014/10/24 16:20:13

HTTPD reverse proxy

Post by andrewm659 » 2015/07/07 01:08:11

Can someone tell me if i'm doing this right?

CentOS 7.1

<VirtualHost *:80>
ServerAdmin support@borg.priv
ServerName confluence.borg.priv
ProxyRequests off
ProxyPreserveHost On
ProxyPass "/confluence" "http://127.0.0.1:8090/"
ProxyPassReverse "/confluence" "http://127.0.0.1:8090/"
<Proxy "*">
Require ip 127.0.0.1 10.0.0.0/8 192.168.220.0/8
</Proxy>
</VirtualHost>

waishingleung
Posts: 20
Joined: 2015/05/11 01:06:42
Location: Hong Kong

Re: HTTPD reverse proxy

Post by waishingleung » 2015/07/07 02:55:35

My settings:
ProxyRequests off
NoProxy 127.0.0.1 192.168.1.0/24

ProxyPass /abc/ http://192.168.1.x/abc/

<Location /abc/>
ProxyPassReverse /abc

ExpiresActive On
ExpiresDefault "now"
</Location>

you may add "require ip" inside location

Post Reply