mirror of
https://github.com/kittywitch/nixfiles.git
synced 2026-02-09 12:29:19 -08:00
Fix deploy bug which is https://github.com/NixOS/nix/issues/3017
This commit is contained in:
parent
cab29edaac
commit
229abb8a5e
5 changed files with 30 additions and 23 deletions
14
nixos/roles/irc-client/nginx.nix
Normal file
14
nixos/roles/irc-client/nginx.nix
Normal file
|
|
@ -0,0 +1,14 @@
|
|||
_: {
|
||||
services.nginx = {
|
||||
virtualHosts = {
|
||||
"irc.kittywit.ch" = {
|
||||
enableACME = true;
|
||||
forceSSL = true;
|
||||
locations."/" = {
|
||||
proxyPass = "http://[::1]:9000";
|
||||
proxyWebsockets = true;
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
@ -13,13 +13,6 @@
|
|||
in {
|
||||
services.nginx = {
|
||||
virtualHosts = {
|
||||
"kittywit.ch" = {
|
||||
enableACME = true;
|
||||
forceSSL = true;
|
||||
acmeRoot = null;
|
||||
locations."= /.well-known/matrix/server".extraConfig = mkWellKnown serverConfig;
|
||||
locations."= /.well-known/matrix/client".extraConfig = mkWellKnown clientConfig;
|
||||
};
|
||||
"${fqdn}" = {
|
||||
enableACME = true;
|
||||
forceSSL = true;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue