Skip to content

Commit

Permalink
changing redirect url
Browse files Browse the repository at this point in the history
  • Loading branch information
cvalaas committed Dec 17, 2024
1 parent dbcbf90 commit 64ba559
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions haproxy.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ frontend router
use_backend mastodon

backend mastodon-report-api
http-request redirect location "https://www.mozilla.org"
http-request redirect location "https://support.mozilla.org/kb/mozilla-social-faq"

http-request replace-path /api/v1/reports-internal /api/v1/reports
http-request set-header Host "${MASTODON_HOSTNAME-stage.moztodon.nonprod.webservices.mozgcp.net}"
Expand All @@ -74,7 +74,7 @@ backend cmbridge-infringement-form
http-request redirect location "https://${CMBRIDGE_HOSTNAME-stage.cm-bridge.nonprod.webservices.mozgcp.net}/infringement-form"

backend mastodon
http-request redirect location "https://www.mozilla.org"
http-request redirect location "https://support.mozilla.org/kb/mozilla-social-faq"

# if the request is the /auth/sign_in intersisteall, we remove the referer header because mastodon usually overrides
# the stored oidc redirect if it was navigated to from the same host domain and theres a referer header
Expand Down

0 comments on commit 64ba559

Please sign in to comment.