Compare commits
4 commits
da86fe8fac
...
886f3898d3
Author | SHA1 | Date | |
---|---|---|---|
![]() |
886f3898d3 | ||
![]() |
15fcba2b26 | ||
![]() |
d98c1e47ce | ||
![]() |
a41d4ab911 |
4 changed files with 14 additions and 4 deletions
|
@ -98,10 +98,6 @@ in
|
||||||
|
|
||||||
services.nginx = {
|
services.nginx = {
|
||||||
enable = true;
|
enable = true;
|
||||||
recommendedTlsSettings = true;
|
|
||||||
recommendedOptimisation = true;
|
|
||||||
recommendedGzipSettings = true;
|
|
||||||
recommendedProxySettings = true;
|
|
||||||
upstreams.grafana.servers."unix:/${cfg.settings.server.socket}" = { };
|
upstreams.grafana.servers."unix:/${cfg.settings.server.socket}" = { };
|
||||||
virtualHosts."grafana-ng.auro.re" = {
|
virtualHosts."grafana-ng.auro.re" = {
|
||||||
root = cfg.settings.server.static_root_path;
|
root = cfg.settings.server.static_root_path;
|
||||||
|
|
|
@ -6,6 +6,9 @@
|
||||||
enable = true;
|
enable = true;
|
||||||
hostName = "jitsi-ng.auro.re";
|
hostName = "jitsi-ng.auro.re";
|
||||||
|
|
||||||
|
nginx.enable = true;
|
||||||
|
videobridge.enable = true;
|
||||||
|
|
||||||
config = {
|
config = {
|
||||||
liveStreaming.enabled = true;
|
liveStreaming.enabled = true;
|
||||||
};
|
};
|
||||||
|
|
|
@ -3,6 +3,7 @@
|
||||||
{
|
{
|
||||||
imports = [
|
imports = [
|
||||||
./hardware-configuration.nix
|
./hardware-configuration.nix
|
||||||
|
./nginx.nix
|
||||||
./virtualisation.nix
|
./virtualisation.nix
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
|
|
10
profiles/vm/nginx.nix
Normal file
10
profiles/vm/nginx.nix
Normal file
|
@ -0,0 +1,10 @@
|
||||||
|
{ ... }:
|
||||||
|
|
||||||
|
{
|
||||||
|
services.nginx = {
|
||||||
|
recommendedTlsSettings = true;
|
||||||
|
recommendedOptimisation = true;
|
||||||
|
recommendedGzipSettings = true;
|
||||||
|
recommendedProxySettings = true;
|
||||||
|
};
|
||||||
|
}
|
Loading…
Reference in a new issue