nginx: fix basic auth for default vhost

This commit is contained in:
Jérémy Lecour 2018-02-08 11:10:30 +01:00 committed by Jérémy Lecour
parent 23062e7b18
commit c6d3b804d9
2 changed files with 6 additions and 1 deletions

View file

@ -16,6 +16,9 @@ The **patch** part changes incrmentally at each release.
### Changed
* elasticsearch: use ES_TMPDIR variable for custom tmpdir, (from `/etc/default/elasticsearch` instead of changing `/etc/elesticsearch/jvm.options`).
### Fixed
* nginx: fix basic auth for default vhost
## [9.1.6] - 2018-02-02
### Added

View file

@ -23,10 +23,12 @@ server {
root /var/www;
# Auth.
satisfy any;
include /etc/nginx/snippets/ipaddr_whitelist;
deny all;
auth_basic "Reserved {{ ansible_fqdn }}";
auth_basic_user_file /etc/nginx/snippets/private_htpasswd;
satisfy any;
location / {
index index.html index.htm;