mirror of
https://github.com/0xJacky/nginx-ui.git
synced 2025-05-12 10:55:51 +02:00
518 B
518 B
Auth
From v2.0.0-beta.26, you can authorization settings in the auth
section of the configuration file.
IPWhiteList
- Type:
string
- Example:
10.0.0.1
[auth]
IPWhiteList = 10.0.0.1
IPWhiteList = 10.0.0.2
IPWhiteList = 10.0.0.3
By default, if you do not set the IPWhiteList
, all IP addresses are allowed to access the Nginx UI.
Once you set the IPWhiteList
, only the users from IP addresses in the list and 127.0.0.1
can access the Nginx UI,
others will receive a 403 Forbidden
error.