forked from dark-firepit/dotfiles
move stuff to dark-firepit.dev
This commit is contained in:
parent
9cc11cbdbb
commit
dd7bfd7ea0
|
@ -120,8 +120,8 @@ in {
|
||||||
postgres.enable = true;
|
postgres.enable = true;
|
||||||
|
|
||||||
nextcloud = {
|
nextcloud = {
|
||||||
enable = true;
|
enable = false;
|
||||||
domain = "cloud.aether.gay";
|
domain = "cloud.dark-firepit.dev";
|
||||||
};
|
};
|
||||||
|
|
||||||
gitea = {
|
gitea = {
|
||||||
|
@ -242,7 +242,8 @@ in {
|
||||||
|
|
||||||
staticSites = {
|
staticSites = {
|
||||||
"aether.gay".dataDir = "/var/www/aether.gay";
|
"aether.gay".dataDir = "/var/www/aether.gay";
|
||||||
"dark-firepit.oat.zone".dataDir = "/var/www/dark-firepit.oat.zone";
|
"dark-firepit.dev".dataDir = "/var/www/dark-firepit.dev";
|
||||||
|
#"dark-firepit.oat.zone".dataDir = "/var/www/dark-firepit.oat.zone";
|
||||||
"va11halla.oat.zone".dataDir = "/var/www/va11halla.oat.zone";
|
"va11halla.oat.zone".dataDir = "/var/www/va11halla.oat.zone";
|
||||||
"giger.yugoslavia.fishing".dataDir = "/var/www/giger.yugoslavia.fishing";
|
"giger.yugoslavia.fishing".dataDir = "/var/www/giger.yugoslavia.fishing";
|
||||||
"modfiles.oat.zone".dataDir = "/var/www/modfiles.oat.zone";
|
"modfiles.oat.zone".dataDir = "/var/www/modfiles.oat.zone";
|
||||||
|
@ -312,6 +313,16 @@ in {
|
||||||
'';
|
'';
|
||||||
};
|
};
|
||||||
|
|
||||||
|
# https://www.edwinwenink.xyz/posts/47-tilde_server/
|
||||||
|
services.nginx.virtualHosts."dark-firepit.dev" = {
|
||||||
|
locations."~ ^/~([^/\\s]+?)(/[^\\s]*)?$".extraConfig = ''
|
||||||
|
add_header X-debug-message "/home/$1/www$2" always;
|
||||||
|
alias /home/$1/www$2;
|
||||||
|
index index.html index.htm;
|
||||||
|
autoindex on;
|
||||||
|
'';
|
||||||
|
};
|
||||||
|
|
||||||
security.doas = {
|
security.doas = {
|
||||||
extraRules = [
|
extraRules = [
|
||||||
{ users = [ "aether" ]; noPass = false; persist = true; keepEnv = true; }
|
{ users = [ "aether" ]; noPass = false; persist = true; keepEnv = true; }
|
||||||
|
|
Loading…
Reference in New Issue