/etc/apache2/mods-available/proxy.conf - Ubuntu 16.04 LTS (Xenial Xerus)

This is the default example configuration of proxy.conf provided by Apache. This config file was generated by Apache running on Ubuntu 16.04.

It is located under: /etc/apache2/mods-available/proxy.conf

    <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
	#   Require all denied
	#   #Require local
	#</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>

# vim: syntax=apache ts=4 sw=4 sts=4 sr noet

    
  

Config Details

Location
/etc/apache2/mods-available/proxy.conf
Operating system
Ubuntu 16.04 LTS (Xenial Xerus)
Length
27 lines
MD5 checksum
b516d96935974214588d525edd7aed6d

Usage

Download the raw file with wget or curl

Wget

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

cURL

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