removed chat.uref.hacc.media
This commit is contained in:
parent
cc691d10f5
commit
cce3bb9633
2 changed files with 0 additions and 36 deletions
|
@ -14,7 +14,6 @@
|
||||||
./services/nginx.nix
|
./services/nginx.nix
|
||||||
# ./k8s.nix
|
# ./k8s.nix
|
||||||
./services/docker.nix
|
./services/docker.nix
|
||||||
./services/rocket.nix
|
|
||||||
./services/gitlab-runner.nix
|
./services/gitlab-runner.nix
|
||||||
];
|
];
|
||||||
boot.loader.grub.enable = true;
|
boot.loader.grub.enable = true;
|
||||||
|
|
|
@ -1,35 +0,0 @@
|
||||||
{ config, lib, pkgs, ... }:
|
|
||||||
|
|
||||||
{
|
|
||||||
services.mongodb = {
|
|
||||||
enable = true;
|
|
||||||
extraConfig = ''
|
|
||||||
replication:
|
|
||||||
replSetName: "rs01"
|
|
||||||
'';
|
|
||||||
};
|
|
||||||
virtualisation.oci-containers.containers."rocketchat" = {
|
|
||||||
autoStart = true;
|
|
||||||
environment = {
|
|
||||||
ROOT_URL = "https://chat.uref.hacc.media";
|
|
||||||
MONGO_URL = "mongodb://localhost:27017/rocketchat";
|
|
||||||
MONGO_OPLOG_URL = "mongodb://localhost:27017/local";
|
|
||||||
Accounts_UseDNSDomainCheck = "false";
|
|
||||||
};
|
|
||||||
image = "rocketchat/rocket.chat:3.1.1";
|
|
||||||
extraOptions = [ "--network=host" ];
|
|
||||||
};
|
|
||||||
services.nginx.virtualHosts."chat.uref.hacc.media" = {
|
|
||||||
enableACME = true;
|
|
||||||
forceSSL = true;
|
|
||||||
locations."/" = {
|
|
||||||
proxyPass = "http://127.0.0.1:3000";
|
|
||||||
extraConfig = "
|
|
||||||
proxy_set_header X-Real-IP $remote_addr;
|
|
||||||
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
|
|
||||||
proxy_set_header X-Forwarded-Proto $scheme;
|
|
||||||
proxy_set_header X-Forwarded-Host $http_host;
|
|
||||||
";
|
|
||||||
};
|
|
||||||
};
|
|
||||||
}
|
|
Loading…
Reference in a new issue