vhost: Add support for specifying preserve query independently of

preserve path
This commit is contained in:
uumas
2024-11-05 15:47:21 +02:00
parent 6aabccbe75
commit 05714898eb
4 changed files with 16 additions and 4 deletions

View File

@@ -41,6 +41,7 @@
'redirect_target': item.redirect_target | default(vhost_redirect_target if vhost_type == 'redirect' else ''),
'redirect_preserve_path': item.redirect_preserve_path | default(vhost_redirect_preserve_path),
'redirect_preserve_query': item.redirect_preserve_query | default(vhost_redirect_preserve_query),
'redirect_type': item.redirect_type | default(vhost_redirect_type),
'respond_content': item.respond_content | default(vhost_respond_content if vhost_type == 'respond' else ''),