Apache proxy.conf configuration example for Debian GNU/Linux 8 (jessie)

Get the default configuration file proxy.conf for Apache, optimized for Debian GNU/Linux 8 (jessie). 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
	#   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
Debian GNU/Linux 8 (jessie)
Length
27 lines
MD5 checksum
b516d96935974214588d525edd7aed6d

Usage

Download the raw file with wget or curl

Wget

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

cURL

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