Add influxdb role
This commit is contained in:
parent
1f5d2f6238
commit
d0f3d828df
5 changed files with 89 additions and 0 deletions
12
roles/influxdb/templates/nginx.conf.j2
Normal file
12
roles/influxdb/templates/nginx.conf.j2
Normal file
|
@ -0,0 +1,12 @@
|
|||
server {
|
||||
listen 8086 ssl;
|
||||
listen [::]:8086 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:8087;
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue