mirror of
https://github.com/Ahwxorg/nixos-config.git
synced 2025-12-04 23:00:14 +01:00
15 lines
336 B
Nix
15 lines
336 B
Nix
|
|
{ ... }:
|
||
|
|
{
|
||
|
|
services = {
|
||
|
|
nginx.virtualHosts."search.liv.town" = {
|
||
|
|
forceSSL = true;
|
||
|
|
sslCertificate = "/var/lib/acme/liv.town/cert.pem";
|
||
|
|
sslCertificateKey = "/var/lib/acme/liv.town/key.pem";
|
||
|
|
locations."/" = {
|
||
|
|
proxyPass = "http://localhost:8080";
|
||
|
|
proxyWebsockets = true;
|
||
|
|
};
|
||
|
|
};
|
||
|
|
};
|
||
|
|
}
|