aboutsummaryrefslogtreecommitdiff
path: root/www/server-config/apache2/mods-available/proxy.conf
diff options
context:
space:
mode:
Diffstat (limited to 'www/server-config/apache2/mods-available/proxy.conf')
-rw-r--r--www/server-config/apache2/mods-available/proxy.conf27
1 files changed, 27 insertions, 0 deletions
diff --git a/www/server-config/apache2/mods-available/proxy.conf b/www/server-config/apache2/mods-available/proxy.conf
new file mode 100644
index 0000000..cf4a9fb
--- /dev/null
+++ b/www/server-config/apache2/mods-available/proxy.conf
@@ -0,0 +1,27 @@
+<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