website/docs: Upgrade nginx reverse porxy config#8947
Merged
BeryJu merged 1 commit intogoauthentik:mainfrom Mar 22, 2024
vnwnv:patch-1
Merged
website/docs: Upgrade nginx reverse porxy config#8947BeryJu merged 1 commit intogoauthentik:mainfrom vnwnv:patch-1
BeryJu merged 1 commit intogoauthentik:mainfrom
vnwnv:patch-1
Conversation
Signed-off-by: Vince <wlmqpsc@gmail.com>
✅ Deploy Preview for authentik-storybook ready!
To edit notification comments on pull requests, go to your Netlify site configuration. |
✅ Deploy Preview for authentik-docs ready!
To edit notification comments on pull requests, go to your Netlify site configuration. |
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #8947 +/- ##
===========================================
+ Coverage 46.62% 92.19% +45.57%
===========================================
Files 626 640 +14
Lines 30996 31549 +553
===========================================
+ Hits 14451 29086 +14635
+ Misses 16545 2463 -14082
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
kensternberg-authentik
approved these changes
Mar 21, 2024
kensternberg-authentik
added a commit
that referenced
this pull request
Mar 26, 2024
* main: web: bump API Client version (#9021) sources/ldap: add ability to disable password write on login (#8377) web: bump API Client version (#9020) lifecycle: migrate: ensure template schema exists before migrating (#8952) website/integrations: Update nextcloud Admin Group Expression (#7314) web/flow: general ux improvements (#8558) website: bump @types/react from 18.2.67 to 18.2.69 in /website (#9016) core: bump requests-oauthlib from 1.4.0 to 2.0.0 (#9018) web: bump the sentry group in /web with 2 updates (#9017) web/admin: small fixes (#9002) website: bump webpack-dev-middleware from 5.3.3 to 5.3.4 in /website (#9001) core: bump ruff from 0.3.3 to 0.3.4 (#8998) website/docs: Upgrade nginx reverse porxy config (#8947) website/docs: improve flow inspector docs (#8993) website/deverlop-docs website/integrations: add links to integrations template (#8995)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Details
The original nginx reverse proxy config is using
$hostvar, which does not pass the port part to authentik.When nginx host on different port rather than 443, is will make CSRF error.
with the
%host, on pagehttps://authentik:port/api/v3/admin/system/HTTP_HOSTwill only gethttps://authentikwithout port. However, when nginx host on different port, the origin in post headers will contain port number, which cause CSRF error.