mirror of
https://github.com/inventree/InvenTree.git
synced 2025-06-16 03:55:41 +00:00
[BUG] reverse proxy (#3847)
Add more docs regarding headers Fixes #3807
This commit is contained in:
@ -165,8 +165,10 @@ login_attempts: 5
|
|||||||
# Remote / proxy login
|
# Remote / proxy login
|
||||||
# These settings can introduce security problems if configured incorrectly. Please read
|
# These settings can introduce security problems if configured incorrectly. Please read
|
||||||
# https://docs.djangoproject.com/en/4.0/howto/auth-remote-user/ for more details
|
# https://docs.djangoproject.com/en/4.0/howto/auth-remote-user/ for more details
|
||||||
|
# The header name should be prefixed by `HTTP`. Please read the docs for more details
|
||||||
|
# https://docs.djangoproject.com/en/stable/ref/request-response/#django.http.HttpRequest.META
|
||||||
remote_login_enabled: False
|
remote_login_enabled: False
|
||||||
remote_login_header: REMOTE_USER
|
remote_login_header: HTTP_REMOTE_USER
|
||||||
|
|
||||||
# Permit custom authentication backends
|
# Permit custom authentication backends
|
||||||
#authentication_backends:
|
#authentication_backends:
|
||||||
|
Reference in New Issue
Block a user