From 9b4eb30751a2e66840b8569a99513f19d0b188d1 Mon Sep 17 00:00:00 2001 From: cytopia Date: Fri, 23 Dec 2022 01:22:51 +0100 Subject: [PATCH] Fix Reverse Proxy for Apache 2.2 --- bin/vhost-gen | 2 +- etc/templates/apache22.yml | 4 ---- setup.py | 2 +- 3 files changed, 2 insertions(+), 6 deletions(-) diff --git a/bin/vhost-gen b/bin/vhost-gen index 2360e12..845cfa1 100755 --- a/bin/vhost-gen +++ b/bin/vhost-gen @@ -29,7 +29,7 @@ if os.environ.get("MYPY_CHECK", False): # -------------------------------------------------------------------------------------------------- APPNAME = "vhost-gen" APPREPO = "https://github.com/devilbox/vhost-gen" -VERSION = "1.0.7" +VERSION = "1.0.8" RELDATE = "2022-12-22" # Default paths diff --git a/etc/templates/apache22.yml b/etc/templates/apache22.yml index 619eaca..8ee37cf 100644 --- a/etc/templates/apache22.yml +++ b/etc/templates/apache22.yml @@ -89,12 +89,8 @@ vhost_type: # Define the vhost to reverse proxy ProxyRequests off ProxyPass __LOCATION__ __PROXY_PROTO__://__PROXY_ADDR__:__PROXY_PORT__ - ProxyHTMLURLMap __PROXY_PROTO__://__PROXY_ADDR__:__PROXY_PORT__ __LOCATION__ ProxyPassReverse / - SetOutputFilter proxy-html - ProxyHTMLURLMap / __LOCATION__ - ProxyHTMLURLMap __LOCATION__ __LOCATION__ RequestHeader unset Accept-Encoding diff --git a/setup.py b/setup.py index 9038652..64c91c4 100644 --- a/setup.py +++ b/setup.py @@ -6,7 +6,7 @@ setup( name="vhost-gen", - version="1.0.7", + version="1.0.8", description="Configurable vHost generator for Apache 2.2, Apache 2.4 and Nginx.", license="MIT", long_description=long_description,