mirror of
https://github.com/streetwriters/notesnook-sync-server.git
synced 2026-10-13 15:27:07 +02:00
global: add support for specifying known proxies (#63)
* Add KNOWN_PROXIES * Add known proxy setup in Startup.cs Refactor forwarded headers configuration to use a variable for options. * Document KNOWN_PROXIES in .env file Added documentation for KNOWN_PROXIES environment variable * Clean up Restored license comments and formatting in Constants.cs. * Apply suggestion from @thecodrr * Added KnownProxies functionality at Streetwriters.Common level --------- Co-authored-by: Abdullah Atta <thecodrr@protonmail.com>
This commit is contained in:
1 parent
ab9efaea7f
commit
dd05c55875
6 files changed
+39
-23
No files matched your search
@@ -46,6 +46,11 @@ TWILIO_SERVICE_SID=
|
||||
# Example: https://app.notesnook.com,http://localhost:3000
|
||||
NOTESNOOK_CORS_ORIGINS=
|
||||
|
||||
# Description: Add known proxies for incoming HTTP requests
|
||||
# Required: no
|
||||
# Example: 192.168.1.2,192.168.1.3
|
||||
KNOWN_PROXIES=
|
||||
|
||||
# Description: This is the public URL for the web app, and is used by the backend for creating redirect URLs (e.g. after email confirmation etc).
|
||||
# Note: the URL has no slashes at the end
|
||||
# Required: yes
|
||||
|
||||
Reference in new issue
Block a user