From cc2d0b7e09a5d5dceec04f00674c268351afe93b Mon Sep 17 00:00:00 2001 From: Stephane Martin Date: Tue, 6 Sep 2016 00:08:44 +0200 Subject: [PATCH] more explicit nginx conf example --- README.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/README.md b/README.md index 91e2233..e98786a 100644 --- a/README.md +++ b/README.md @@ -348,6 +348,9 @@ Note: of course with that setup you must ensure that **Realms is only accessible Example Nginx configuration: location / { + auth_basic "Restricted"; + auth_basic_user_file /etc/nginx/.htpasswd; + proxy_set_header X-Real-IP $remote_addr; proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; proxy_set_header Host $http_host;