mirror of
https://github.com/eduardogsilva/wireguard_webadmin.git
synced 2026-02-20 03:36:16 +00:00
Add VPN_CLIENTS_CAN_ACCESS_DJANGO configuration and update related settings
This commit is contained in:
11
.env.example
11
.env.example
@@ -23,4 +23,13 @@ TIMEZONE=America/Sao_Paulo
|
||||
# If you need additional hosts to be allowed, you can specify them here.
|
||||
# The SERVER_ADDRESS will always be allowed.
|
||||
# Example: EXTRA_ALLOWED_HOSTS=app1.example.com,app2.example.com:8443,app3.example.com
|
||||
#EXTRA_ALLOWED_HOSTS=app1.example.com,app2.example.com:8443,app3.example.com
|
||||
#EXTRA_ALLOWED_HOSTS=app1.example.com,app2.example.com:8443,app3.example.com
|
||||
|
||||
# Allow VPN clients to access Django directly through the internal interface.
|
||||
# When enabled, users connected to the VPN can open the web interface using:
|
||||
# http://ip_or_hostname:8000
|
||||
#
|
||||
# IMPORTANT:
|
||||
# The internal address used for VPN access MUST be added to EXTRA_ALLOWED_HOSTS,
|
||||
# including the port :8000, otherwise Django will block the request (CSRF/Host validation).
|
||||
# VPN_CLIENTS_CAN_ACCESS_DJANGO=True
|
||||
|
||||
Reference in New Issue
Block a user