You are here

other_cms_integration_pass.html.twig in Fastly 8.3

{% if override_backend_hostname == "DEFAULT" %}
# Intentionally empty
{% else %}
if ( req.backend.is_origin && req.http.X-ExternalCMS ) {
set bereq.http.host = "{{ override_backend_hostname }}";
}
{% endif %}

File

fastly_edge_modules/templates/other_cms_integration_pass.html.twig
View source
  1. {% if override_backend_hostname == "DEFAULT" %}
  2. # Intentionally empty
  3. {% else %}
  4. if ( req.backend.is_origin && req.http.X-ExternalCMS ) {
  5. set bereq.http.host = "{{ override_backend_hostname }}";
  6. }
  7. {% endif %}