X-Git-Url: https://git.tld-linux.org/?p=packages%2Fapache.git;a=blobdiff_plain;f=apache-mod_proxy.conf;h=00f9a57347bbff744e3495f670a042925b54757e;hp=c4f535c9ef3ad20b6c52fc9cff1fed93c22a95b9;hb=3174ace842691bfb2ea7af0c53406a7f2a71dc80;hpb=3e9ecd9be44c09b5a9a74bc154164818c7218e14 diff --git a/apache-mod_proxy.conf b/apache-mod_proxy.conf index c4f535c..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 ip 127.0.0.1 +# Require all granted # - # # Enable/disable the handling of HTTP/1.1 "Via:" headers. # ("Full" adds the server version; "Block" removes all outgoing Via: headers)