Skip to content

Commit

Permalink
generate x-vhost value dynamically
Browse files Browse the repository at this point in the history
  • Loading branch information
Thomas Wolfart committed Oct 4, 2024
1 parent 3a02ff9 commit a8fde42
Showing 1 changed file with 4 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -34,9 +34,11 @@ ServerAlias {{this}}
DocumentRoot "${DOCROOT}"
# URI dereferencing algorithm is applied at Sling's level, do not decode parameters here
AllowEncodedSlashes NoDecode
# Add header breadcrumbs for help in troubleshooting
<IfModule mod_headers.c>
Header add X-Vhost "publish"
# Add header breadcrumbs for help in troubleshooting
{{#httpdCloudManagerConditional}}
Header add X-Vhost "{{httpd.serverName}}"
{{/httpdCloudManagerConditional}}
# Webserver in AEM cloud service is always terminated with SSL
RequestHeader set X-Forwarded-SSL "on"
</IfModule>
Expand Down

0 comments on commit a8fde42

Please sign in to comment.