summaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
Diffstat (limited to 'README.md')
-rw-r--r--README.md18
1 files changed, 18 insertions, 0 deletions
diff --git a/README.md b/README.md
index be8421c..08ce4e4 100644
--- a/README.md
+++ b/README.md
@@ -40,3 +40,21 @@ instance at a time.
- jid: JID of the bot who sends the tokens to the users.
- jid\_pw: password of the bot.
+
+
+# nginx
+
+## configuration
+
+ location /grafana {
+ auth_request /_auth;
+ # ...
+ }
+
+ location = /_auth {
+ proxy_pass http://localhost:8081/;
+ proxy_pass_request_body off;
+ proxy_set_header Content-Length "";
+ proxy_set_header X-Original-URI "$scheme://$host$request_uri";
+ }
+