Skip to content

Commit

Permalink
[ODS-5481] Improve use of X-Forwarded-XYZ headers (5.3) (#459)
Browse files Browse the repository at this point in the history
* Introduce appsettings for default X-Forwarded-Host
and X-Forwarded-Port in case they are not included

* Refactor from "default" to "overrideFor"

Co-authored-by: Axel Marquez <[email protected]>
  • Loading branch information
stephenfuqua and AxelMarquez authored Jul 7, 2022
1 parent bb29ca2 commit f5151a5
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Application/EdFi.Ods.WebApi/appsettings.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,8 @@
"Mode": "sandbox",
"Engine": "SQLServer",
"UseReverseProxyHeaders": false,
"OverrideForForwardingHostServer": "",
"OverrideForForwardingHostPort": "",
"PathBase": "",
"MinimalTemplateSuffix": "Ods_Minimal_Template",
"PopulatedTemplateSuffix": "Ods_Populated_Template",
Expand Down

0 comments on commit f5151a5

Please sign in to comment.