You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{# This solves a problem - "Convert to Spreadsheet" was working on HTTPS but not HTTP. Fix this by forcing header to be something the CSFR check likes. #}
{# When we change HTTPS to force, there will be no HTTP traffic and this block should be removed. #}
{% if testing %}
<Location /review>
Header add referer "https://testing.live.standard.open-contracting.org"
RequestHeader set referer "https://testing.live.standard.open-contracting.org"
</Location>
<Location /infrastructure/review>
Header add referer "https://testing.live.standard.open-contracting.org"
RequestHeader set referer "https://testing.live.standard.open-contracting.org"
</Location>
{% endif %}
{% if not testing %}
<Location /review>
Header add referer "https://standard.open-contracting.org"
RequestHeader set referer "https://standard.open-contracting.org"
</Location>
<Location /infrastructure/review>
Header add referer "https://standard.open-contracting.org"
RequestHeader set referer "https://standard.open-contracting.org"
</Location>
{% endif %}
The text was updated successfully, but these errors were encountered:
https://github.com/open-contracting/deploy/blob/master/salt/apache/ocds-docs-live.conf.include#L249
The text was updated successfully, but these errors were encountered: