Skip to content

Commit

Permalink
Disable Proxy in location block for Apache 2\.(2|4)
Browse files Browse the repository at this point in the history
  • Loading branch information
cytopia committed Dec 25, 2022
1 parent 0ce28d9 commit d67bcab
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
3 changes: 2 additions & 1 deletion etc/templates/apache22.yml
Original file line number Diff line number Diff line change
Expand Up @@ -54,10 +54,10 @@ vhost: |
__REDIRECT__
__SSL__
__VHOST_DOCROOT__
__VHOST_RPROXY__
__PHP_FPM__
__ALIASES__
__DENIES__
__VHOST_RPROXY__
__SERVER_STATUS__
# Custom directives
__CUSTOM__
Expand Down Expand Up @@ -140,6 +140,7 @@ features:
# Alias Definition
Alias "__ALIAS__" "__PATH____ALIAS__"
<Location "__ALIAS__">
ProxyPass !
__XDOMAIN_REQ__
</Location>
<Directory "__PATH____ALIAS__">
Expand Down
3 changes: 2 additions & 1 deletion etc/templates/apache24.yml
Original file line number Diff line number Diff line change
Expand Up @@ -55,10 +55,10 @@ vhost: |
__REDIRECT__
__SSL__
__VHOST_DOCROOT__
__VHOST_RPROXY__
__PHP_FPM__
__ALIASES__
__DENIES__
__VHOST_RPROXY__
__SERVER_STATUS__
# Custom directives
__CUSTOM__
Expand Down Expand Up @@ -161,6 +161,7 @@ features:
# Alias Definition
Alias "__ALIAS__" "__PATH____ALIAS__"
<Location "__ALIAS__">
ProxyPass !
__XDOMAIN_REQ__
</Location>
<Directory "__PATH____ALIAS__">
Expand Down

0 comments on commit d67bcab

Please sign in to comment.