-
Notifications
You must be signed in to change notification settings - Fork 13
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
3 changed files
with
15 additions
and
14 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
location ^~ /dashboards/ { | ||
auth_basic "Restricted Access"; | ||
auth_basic_user_file /etc/nginx/.htpasswd_dashboards; | ||
|
||
rewrite ^/dashboards(/.*)$ $1 break; | ||
proxy_pass http://127.0.0.1:5601; | ||
proxy_redirect off; | ||
proxy_buffering off; | ||
|
||
proxy_set_header Connection "Keep-Alive"; | ||
proxy_set_header Proxy-Connection "Keep-Alive"; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters