Quantcast
Channel: HAProxy community - Latest topics
Viewing all articles
Browse latest Browse all 4733

Access Internet Through Proxy

$
0
0

Hi Community! I have problem with accessing internet through proxy. Here’s the configuration.

frontend main
bind *:5000
#acl url_static path_beg -i /static /images /javascript /stylesheets
#acl url_static path_end -i .jpg .gif .png .css .js
#use_backend static if url_static
#default_backend app
use_backend %[req.hdr(Host),lower]
backend web1.com
server web1 localhost:8080 check
backend web2.com
server web2 localhost:8081 check
backend web3.com
server web3 localhost:8082 check

It should be error “Can’t be reach”.

What i want to make, if anyone want access youtube, the haproxy give access to outside.
Any solution? Thanks!

4 posts - 2 participants

Read full topic


Viewing all articles
Browse latest Browse all 4733

Trending Articles



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