mirror of
https://github.com/ordinary-dev/nixos-config.git
synced 2024-09-19 19:30:28 +05:00
chore: hide grafana behind a vpn
This commit is contained in:
parent
f6eb3806a7
commit
e666c326ea
|
@ -19,6 +19,9 @@
|
|||
services.nginx.virtualHosts.${config.services.grafana.settings.server.domain} = {
|
||||
useACMEHost = "comfycamp.space";
|
||||
forceSSL = true;
|
||||
listenAddresses = [
|
||||
"10.101.0.1"
|
||||
];
|
||||
locations."/" = {
|
||||
proxyPass = "http://127.0.0.1:${toString config.services.grafana.settings.server.http_port}";
|
||||
proxyWebsockets = true;
|
||||
|
|
Loading…
Reference in a new issue