diff options
author | Devaev Maxim <[email protected]> | 2018-08-10 00:16:03 +0300 |
---|---|---|
committer | Devaev Maxim <[email protected]> | 2018-08-10 00:16:03 +0300 |
commit | 96e64d79888784f2a8999473f826f10ac2f302ba (patch) | |
tree | e29eb9563c193653bb96f073543ca5393d923aa8 /kvmd/configs | |
parent | 1d21ab6bcb4cb41265064287cc44bcea3ef379a3 (diff) |
password auth for webui
Diffstat (limited to 'kvmd/configs')
-rw-r--r-- | kvmd/configs/nginx/nginx.conf.example | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/kvmd/configs/nginx/nginx.conf.example b/kvmd/configs/nginx/nginx.conf.example index f88e9726..e8d2f0a1 100644 --- a/kvmd/configs/nginx/nginx.conf.example +++ b/kvmd/configs/nginx/nginx.conf.example @@ -50,6 +50,9 @@ http { #PROD add_header Strict-Transport-Security "max-age=31536000; includeSubDomains" always; +#PROD auth_basic "Restricted Area"; +#PROD auth_basic_user_file /etc/nginx/htpasswd; + location / { root /usr/share/kvmd/web; index index.html; |