change url

This commit is contained in:
Vivian 2024-01-04 11:56:36 +01:00
parent a520f77309
commit 140fe8df72
2 changed files with 7 additions and 5 deletions

6
flake.lock generated
View file

@ -254,11 +254,11 @@
"nixpkgs": "nixpkgs_5" "nixpkgs": "nixpkgs_5"
}, },
"locked": { "locked": {
"lastModified": 1704207610, "lastModified": 1704363844,
"narHash": "sha256-goAc0arC/A0Pthz+bNsXzJcaqsNY7s5LcTp2WAtduCo=", "narHash": "sha256-Z+jcLe4hChh6ER5QTDt8jANxYYj5JRFKnkHaNcrpsB4=",
"owner": "jdonszelmann", "owner": "jdonszelmann",
"repo": "essentials", "repo": "essentials",
"rev": "229d7c8793968a319b6968c6fa06b20c393d1d12", "rev": "a7d8c40fa969e32eee55e986cd00b8c497669007",
"type": "github" "type": "github"
}, },
"original": { "original": {

View file

@ -106,7 +106,7 @@ in {
forceSSL = true; forceSSL = true;
locations = { locations = {
"/".extraConfig = '' "/".extraConfig = ''
return 307 https://element.chat.meowy.tech; return 303 https://element.chat.meowy.tech;
''; '';
"/_matrix".proxyPass = "http://synapse.olympus:8008"; "/_matrix".proxyPass = "http://synapse.olympus:8008";
"/_synapse/client".proxyPass = "http://synapse.olympus:8008"; "/_synapse/client".proxyPass = "http://synapse.olympus:8008";
@ -141,7 +141,9 @@ in {
"es.0x76.dev" = { "es.0x76.dev" = {
enableACME = true; enableACME = true;
forceSSL = true; forceSSL = true;
root = inputs.essentials.packages.${pkgs.system}.default; locations."/".extraConfig = ''
return 303 https://bear.0x76.dev;
'';
}; };
"bear.0x76.dev" = { "bear.0x76.dev" = {
enableACME = true; enableACME = true;