To access with http://domain.com/grafana
:
/etc/nginx/sites-available/default:
...
location /grafana {
rewrite ^/grafana/(.*) /$1 break;
proxy_set_header Host $host;
proxy_pass http://localhost:3000;
}
/etc/grafana/grafana.ini:
domain = domain.name
root_url = %(protocol)s://%(domain)s/grafana/
To access with http://domain.com/kibana
:
/etc/nginx/sites-available/default:
...
location /kibana {
proxy_pass http://localhost:5601;
}
/etc/kibana/kibana.yml:
server.basePath: "/kibana"
server.rewriteBasePath: true