change domain
This commit is contained in:
parent
7b7db2d78c
commit
31f3beb9bb
4 changed files with 7 additions and 7 deletions
|
@ -8,7 +8,7 @@ in {
|
||||||
services = {
|
services = {
|
||||||
forgejo = {
|
forgejo = {
|
||||||
enable = true;
|
enable = true;
|
||||||
domain = "git.reidlab.online";
|
domain = "git.reidlab.pink";
|
||||||
port = 3000;
|
port = 3000;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@ -19,12 +19,12 @@ in {
|
||||||
nginx-config.enable = true;
|
nginx-config.enable = true;
|
||||||
|
|
||||||
staticSites = {
|
staticSites = {
|
||||||
"reidlab.online".dataDir = "/var/www/reidlab.online";
|
"reidlab.pink".dataDir = "/var/www/reidlab.pink";
|
||||||
};
|
};
|
||||||
|
|
||||||
metrics = {
|
metrics = {
|
||||||
enable = true;
|
enable = true;
|
||||||
domain = "grafana.reidlab.online";
|
domain = "grafana.reidlab.pink";
|
||||||
port = 2342;
|
port = 2342;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
@ -32,7 +32,7 @@ in {
|
||||||
|
|
||||||
services = {
|
services = {
|
||||||
nginx.virtualHosts = {
|
nginx.virtualHosts = {
|
||||||
"reidlab.online" = {
|
"reidlab.pink" = {
|
||||||
locations."/f/".extraConfig = ''
|
locations."/f/".extraConfig = ''
|
||||||
add_header Access-Control-Allow-Origin "*";
|
add_header Access-Control-Allow-Origin "*";
|
||||||
'';
|
'';
|
||||||
|
|
|
@ -14,7 +14,7 @@ in {
|
||||||
enable = mkEnableOption "enable forgejo, a lightweight git server";
|
enable = mkEnableOption "enable forgejo, a lightweight git server";
|
||||||
domain = mkOption {
|
domain = mkOption {
|
||||||
type = types.str;
|
type = types.str;
|
||||||
default = "git.reidlab.online";
|
default = "git.reidlab.pink";
|
||||||
};
|
};
|
||||||
port = mkOption {
|
port = mkOption {
|
||||||
type = types.int;
|
type = types.int;
|
||||||
|
|
|
@ -8,7 +8,7 @@ in {
|
||||||
enable = mkEnableOption "enable grafana with loki, prometheus, and promtail";
|
enable = mkEnableOption "enable grafana with loki, prometheus, and promtail";
|
||||||
domain = mkOption {
|
domain = mkOption {
|
||||||
type = types.str;
|
type = types.str;
|
||||||
default = "grafana.reidlab.online";
|
default = "grafana.reidlab.pink";
|
||||||
};
|
};
|
||||||
port = mkOption {
|
port = mkOption {
|
||||||
type = types.int;
|
type = types.int;
|
||||||
|
|
|
@ -46,7 +46,7 @@ in {
|
||||||
example = literalExpression ''
|
example = literalExpression ''
|
||||||
{
|
{
|
||||||
"goop.network".dataDir = /var/www/goop.network;
|
"goop.network".dataDir = /var/www/goop.network;
|
||||||
"reidlab.online".dataDir = /etc/secret/private/reidlab-online;
|
"reidlab.pink".dataDir = /etc/secret/private/reidlab-pink;
|
||||||
}
|
}
|
||||||
'';
|
'';
|
||||||
default = {};
|
default = {};
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue