X-Git-Url: https://git.tld-linux.org/?p=packages%2Fapache.git;a=blobdiff_plain;f=apache-mod_proxy.conf;h=00f9a57347bbff744e3495f670a042925b54757e;hp=8e7c9d44844719aca0ae75acf9328182542bf187;hb=3174ace842691bfb2ea7af0c53406a7f2a71dc80;hpb=123f17d9973a79304d1f9a4c15b90be1361627c2 diff --git a/apache-mod_proxy.conf b/apache-mod_proxy.conf index 8e7c9d4..00f9a57 100644 --- a/apache-mod_proxy.conf +++ b/apache-mod_proxy.conf @@ -16,6 +16,7 @@ LoadModule proxy_module modules/mod_proxy.so #LoadModule proxy_http_module modules/mod_proxy_http.so #LoadModule proxy_scgi_module modules/mod_proxy_scgi.so #LoadModule proxy_html_module modules/mod_proxy_html.so +#LoadModule proxy_wstunnel_module modules/mod_proxy_wstunnel.so # Proxy Server directives. Uncomment the following lines to # enable the proxy server: @@ -24,20 +25,24 @@ LoadModule proxy_module modules/mod_proxy.so ProxyRequests On # # -# This prevents spammers from using apache as a relay by posting to +# This prevents spammers from using apache as a relay by posting to # http://victim:25/ and sending raw data. # Require all denied # Require host .your-domain.com + + Order deny,allow + Deny from all +# Allow from .your-domain.com + # enable local fcgi proxy request, e.x for php-fpm # -# Require all granted +# Require all granted # - # # Enable/disable the handling of HTTP/1.1 "Via:" headers. # ("Full" adds the server version; "Block" removes all outgoing Via: headers)