Add grafana role
This commit is contained in:
parent
d0f3d828df
commit
b818249d82
3 changed files with 52 additions and 0 deletions
13
roles/grafana/templates/nginx.conf.j2
Normal file
13
roles/grafana/templates/nginx.conf.j2
Normal file
|
@ -0,0 +1,13 @@
|
|||
server {
|
||||
listen 443 ssl;
|
||||
listen [::]:443 ssl;
|
||||
server_name {{ dns_name }};
|
||||
|
||||
ssl_certificate /etc/letsencrypt/live/{{ dns_name }}/fullchain.pem;
|
||||
ssl_certificate_key /etc/letsencrypt/live/{{ dns_name }}/privkey.pem;
|
||||
|
||||
location / {
|
||||
proxy_pass http://localhost:3000;
|
||||
proxy_set_header Host $host;
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue