Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
ffbs
ffbs-ansible
Commits
59f853c6
Commit
59f853c6
authored
Mar 30, 2022
by
Kasalehlia
Browse files
Grafana: pass Host HTTP header
parent
f9c131ed
Changes
1
Hide whitespace changes
Inline
Side-by-side
roles/grafana/templates/nginx-location.conf.j2
View file @
59f853c6
...
...
@@ -2,6 +2,7 @@
location /grafana/ {
proxy_http_version 1.1;
proxy_pass http://127.0.0.1:3000/;
proxy_set_header Host $http_host;
}
location /grafana/render/ {
...
...
@@ -20,6 +21,8 @@ location /grafana/render/ {
proxy_ignore_headers Cache-Control Expires;
proxy_set_header Host $http_host;
limit_req zone=grafana-limit burst=10;
expires 150s;
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment