mirror of
https://github.com/kittywitch/nixfiles.git
synced 2026-02-09 12:29:19 -08:00
19 lines
445 B
Nix
19 lines
445 B
Nix
_: {
|
|
services.nginx = {
|
|
enable = true;
|
|
recommendedTlsSettings = true;
|
|
recommendedOptimisation = true;
|
|
recommendedGzipSettings = true;
|
|
recommendedProxySettings = true;
|
|
};
|
|
services.nginx.virtualHosts."rinnosuke.inskip.me" = {
|
|
enableACME = true;
|
|
forceSSL = true;
|
|
locations = {
|
|
"/_matrix" = {
|
|
proxyPass = "http://127.0.0.1:6167$request_uri";
|
|
proxyWebsockets = true;
|
|
};
|
|
};
|
|
};
|
|
}
|