Page MenuHomeSoftware Heritage

hedgedoc: Fix reverse proxy configuration
ClosedPublic

Authored by ardumont on Jan 8 2021, 6:26 PM.

Details

Summary
  • varnish/vhost: Use dash separators in x-forwarded-proto header (actually blocking)

expressjs backend engine does not agree with the _ separated version. Apparently,
current other backends seem somewhat ok with the existing versions though.

  • varnish: Add websocket support (hedgedoc frontend needs it)
  • hedgedoc: Drop unneeded empty configuration (more cosmetic than anything)

Related to T2935

Test Plan

vagrant up admin-bardo
vagrant up admin-rp1

we can now have a full (still anonymous or registered via email) edition (without the wheel of death ;)

Diff Detail

Repository
rSPSITE puppet-swh-site
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.