Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- [database]
- type = postgres
- host = 127.0.0.1:5432
- name = grafana
- user = graphite
- password = mypass
- [server]
- protocol = http
- http_addr = 127.0.0.1
- http_port = 3000
- domain = mygrafana.com
- enforce_domain = true
- root_url = %(protocol)s://%(domain)s/
- [security]
- admin_user = admin
- admin_password = mypass
- secret_key = something
- ...
- ...
- <VirtualHost *:80>
- ProxyPreserveHost On
- ProxyPass / http://127.0.0.1:3000/
- ProxyPassReverse / http://127.0.0.1:3000/
- ServerName mygraphana.com
- </VirtualHost>
- sudo a2ensite apache2-grafana
- sudo update-rc.d grafana-server defaults 95 10
- sudo service grafana-server start
- sudo service apache2 restart
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement