mirror of
https://git.pvv.ntnu.no/Drift/pvv-nixos-config.git
synced 2025-10-16 11:48:01 +02:00
base/nixos-exporter: listen on own server block
This commit is contained in:
parent
df5557698f
commit
9e51bdb373
@ -22,7 +22,8 @@ let
|
|||||||
port = 9102;
|
port = 9102;
|
||||||
in
|
in
|
||||||
{
|
{
|
||||||
services.nginx.virtualHosts."${config.networking.fqdn}" = {
|
services.nginx.virtualHosts."${config.networking.fqdn}-nixos-metrics" = {
|
||||||
|
serverName = config.networking.fqdn;
|
||||||
serverAliases = [
|
serverAliases = [
|
||||||
"${config.networking.hostName}.pvv.org"
|
"${config.networking.hostName}.pvv.org"
|
||||||
];
|
];
|
||||||
|
Loading…
x
Reference in New Issue
Block a user