Skip to content

Commit

Permalink
Merge pull request #50 from devilbox/release-1.0.8
Browse files Browse the repository at this point in the history
Fix Reverse Proxy for Apache 2.2
  • Loading branch information
cytopia authored Dec 23, 2022
2 parents 61a3aa7 + 9b4eb30 commit d4a5fa2
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 6 deletions.
2 changes: 1 addition & 1 deletion bin/vhost-gen
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
4 changes: 0 additions & 4 deletions etc/templates/apache22.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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__
<location __LOCATION__>
ProxyPassReverse /
SetOutputFilter proxy-html
ProxyHTMLURLMap / __LOCATION__
ProxyHTMLURLMap __LOCATION__ __LOCATION__
RequestHeader unset Accept-Encoding
</location>
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit d4a5fa2

Please sign in to comment.