mirror of
https://github.com/Ahwxorg/nixos-config.git
synced 2025-12-04 15:00:13 +01:00
feat: adds bluemap proxy
This commit is contained in:
parent
f658e7772f
commit
2723662aca
1 changed files with 14 additions and 0 deletions
14
modules/services/bluemap-proxy.nix
Normal file
14
modules/services/bluemap-proxy.nix
Normal file
|
|
@ -0,0 +1,14 @@
|
||||||
|
{ ... }:
|
||||||
|
{
|
||||||
|
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;
|
||||||
|
};
|
||||||
|
};
|
||||||
|
};
|
||||||
|
}
|
||||||
Loading…
Add table
Add a link
Reference in a new issue