Skip to content

Commit

Permalink
fix #883 by adding a warning on host_regex (#890)
Browse files Browse the repository at this point in the history
  • Loading branch information
johrstrom authored Nov 29, 2023
1 parent c21ce4e commit c1aa443
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions source/reference/files/ood-portal-yml.rst
Original file line number Diff line number Diff line change
Expand Up @@ -634,8 +634,13 @@ assets and links supplied by the web server are relative and not absolute.

.. describe:: host_regex (String)

the regular expression used as a allowlist for allowing a user to reverse
proxy to a given host.
.. warning::
Wildcards like ``.`` should be avoided because they cause issues in parsing.
``host_regex`` should always have a domain name that your center owns (for security)
and should specify lists of character classes like ``[w.-]`` (for proper functionality).

The regular expression used as a allowlist for allowing a user to reverse
proxy to a given host.

Default
Allow proxying to all hosts in the world (please change this if you
Expand Down

0 comments on commit c1aa443

Please sign in to comment.