diff options
Diffstat (limited to 'README.md')
-rw-r--r-- | README.md | 18 |
1 files changed, 18 insertions, 0 deletions
@@ -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"; + } + |