Apache proxy.conf configuration example for Ubuntu 12.04 LTS (Precise Pangolin)

Get the default configuration file proxy.conf for Apache, optimized for Ubuntu 12.04 LTS (Precise Pangolin). This example configuration ensures optimal compatibility and performance for Apache, making it easy to set up and adjust to meet your needs.

Find and download the configuration file here: /etc/apache2/mods-available/proxy.conf.

For more configurations and setup guides, visit our related files section to further customize your system.

    <IfModule mod_proxy.c>

# If you want to use apache2 as a forward proxy, uncomment the
# 'ProxyRequests On' line and the <Proxy *> block below.
# WARNING: Be careful to restrict access inside the <Proxy *> block.
# Open proxy servers are dangerous both to your network and to the
# Internet at large.
#
# If you only want to use apache2 as a reverse proxy/gateway in
# front of some web application server, you DON'T need
# 'ProxyRequests On'.

#ProxyRequests On
#<Proxy *>
#        AddDefaultCharset off
#        Order deny,allow
#        Deny from all
#        #Allow from .example.com
#</Proxy>

# Enable/disable the handling of HTTP/1.1 "Via:" headers.
# ("Full" adds the server version; "Block" removes all outgoing Via: headers)
# Set to one of: Off | On | Full | Block
#ProxyVia Off

</IfModule>

    
  

Config Details

Location
/etc/apache2/mods-available/proxy.conf
Operating system
Ubuntu 12.04 LTS (Precise Pangolin)
Length
26 lines
MD5 checksum
5b40618d1d3ec04e618b05581effd68a

Usage

Download the raw file with wget or curl

Wget

wget -O proxy.conf.example https://exampleconfig.com/static/raw/apache/ubuntu12.04/etc/apache2/mods-available/proxy.conf

cURL

curl https://exampleconfig.com/static/raw/apache/ubuntu12.04/etc/apache2/mods-available/proxy.conf > proxy.conf.example