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