Nixfiles! :3
0

Configure Feed

Select the types of activity you want to include in your feed.

Matrix problems so I've been trying things all day

Committing this so if there's something that helped
it's in there now... I'm exhausted sorry


Signed-off-by: MLC Bloeiman <mar@strawmelonjuice.com>

MLC Bloeiman (Jul 16, 2026, 9:18 PM +0200) 4273e530 e179963d

+96 -82
+96 -82
home/host-specific/Cubchoo.nix
··· 115 115 programs.zsh.shellAliases.caddy-reload = "podman exec -it caddy caddy reload --config /etc/caddy/Caddyfile"; 116 116 117 117 xdg.configFile."services/Caddy/Caddyfile".text = '' 118 - { 119 - email webmaster@strawmelonjuice.com 120 - } 118 + { 119 + email webmaster@strawmelonjuice.com 120 + } 121 121 122 - (icon_redirect) { 123 - redir /assets/site_icon.png https://strawmelonjuice.com/strawmelonjuice.svg permanent 124 - redir /favicon.ico https://strawmelonjuice.com/strawmelonjuice.svg permanent 125 - redir /favicon.png https://strawmelonjuice.com/strawmelonjuice.svg permanent 126 - redir /assets/img/favicon.svg https://strawmelonjuice.com/strawmelonjuice.svg permanent 127 - redir /assets/img/favicon.png https://strawmelonjuice.com/strawmelonjuice.svg permanent 128 - redir /assets/img/site_icon.svg https://strawmelonjuice.com/strawmelonjuice.svg permanent 129 - redir /assets/img/logo.svg https://strawmelonjuice.com/strawmelonjuice.svg permanent 130 - } 122 + (icon_redirect) { 123 + redir /assets/site_icon.png https://strawmelonjuice.com/strawmelonjuice.svg permanent 124 + redir /favicon.ico https://strawmelonjuice.com/strawmelonjuice.svg permanent 125 + redir /favicon.png https://strawmelonjuice.com/strawmelonjuice.svg permanent 126 + redir /assets/img/favicon.svg https://strawmelonjuice.com/strawmelonjuice.svg permanent 127 + redir /assets/img/favicon.png https://strawmelonjuice.com/strawmelonjuice.svg permanent 128 + redir /assets/img/site_icon.svg https://strawmelonjuice.com/strawmelonjuice.svg permanent 129 + redir /assets/img/logo.svg https://strawmelonjuice.com/strawmelonjuice.svg permanent 130 + } 131 131 132 - git.strawmelonjuice.com { 133 - redir https://forge.strawmelonjuice.com{uri} 134 - } 132 + git.strawmelonjuice.com { 133 + redir https://forge.strawmelonjuice.com{uri} 134 + } 135 135 136 - forge.strawmelonjuice.com { 137 - redir /assets/site_icon.png https://strawmelonjuice.com/svg/forgejo_strawmelonjuice.svg permanent 138 - redir /favicon.ico https://strawmelonjuice.com/svg/forgejo_strawmelonjuice.svg permanent 139 - redir /favicon.png https://strawmelonjuice.com/svg/forgejo_strawmelonjuice.svg permanent 140 - redir /assets/img/favicon.svg https://strawmelonjuice.com/svg/forgejo_strawmelonjuice.svg permanent 141 - redir /assets/img/favicon.png https://strawmelonjuice.com/svg/forgejo_strawmelonjuice.svg permanent 142 - redir /assets/img/site_icon.svg https://strawmelonjuice.com/svg/forgejo_strawmelonjuice.svg permanent 143 - redir /assets/img/logo.svg https://strawmelonjuice.com/svg/forgejo_strawmelonjuice.svg permanent 136 + forge.strawmelonjuice.com { 137 + redir /assets/site_icon.png https://strawmelonjuice.com/svg/forgejo_strawmelonjuice.svg permanent 138 + redir /favicon.ico https://strawmelonjuice.com/svg/forgejo_strawmelonjuice.svg permanent 139 + redir /favicon.png https://strawmelonjuice.com/svg/forgejo_strawmelonjuice.svg permanent 140 + redir /assets/img/favicon.svg https://strawmelonjuice.com/svg/forgejo_strawmelonjuice.svg permanent 141 + redir /assets/img/favicon.png https://strawmelonjuice.com/svg/forgejo_strawmelonjuice.svg permanent 142 + redir /assets/img/site_icon.svg https://strawmelonjuice.com/svg/forgejo_strawmelonjuice.svg permanent 143 + redir /assets/img/logo.svg https://strawmelonjuice.com/svg/forgejo_strawmelonjuice.svg permanent 144 144 145 145 146 - # proxy to forgejo 147 - # reverse_proxy anubis-forge:3000 { 148 - reverse_proxy forgejo:3000 { 149 - header_up X-Real-Ip {remote_host} 150 - } 151 - } 146 + # proxy to forgejo 147 + # reverse_proxy anubis-forge:3000 { 148 + reverse_proxy forgejo:3000 { 149 + header_up X-Real-Ip {remote_host} 150 + } 151 + } 152 152 153 - files-shared.strawmelonjuice.com { 154 - redir https://media.strawmelonjuice.com{uri} 155 - } 153 + files-shared.strawmelonjuice.com { 154 + redir https://media.strawmelonjuice.com{uri} 155 + } 156 156 157 - fonts.strawmelonjuice.com { 158 - reverse_proxy 100.65.127.22:39936 159 - } 157 + fonts.strawmelonjuice.com { 158 + reverse_proxy 100.65.127.22:39936 159 + } 160 160 161 - media.strawmelonjuice.com { 162 - # request_body { 163 - # max_size 3GB 164 - # } 165 - reverse_proxy strawmedia:3022 166 - } 161 + media.strawmelonjuice.com { 162 + # request_body { 163 + # max_size 3GB 164 + # } 165 + reverse_proxy strawmedia:3022 166 + } 167 167 168 - cloud.strawmelonjuice.com { 169 - reverse_proxy owncloud_server:8080 170 - } 168 + cloud.strawmelonjuice.com { 169 + reverse_proxy owncloud_server:8080 170 + } 171 + matrix.strawmelonjuice.com { 172 + reverse_proxy matrix:8008 { 173 + transport http { 174 + read_timeout 300s 175 + write_timeout 300s 176 + } 177 + } 178 + } 171 179 172 - www.strawmelonjuice.com, 173 - strawmelonjuice.com { 174 - # Old strawmelonjuice.php and Cynthia Full pages that google is still trying and its annoying me. 175 - @old_php_pages { 176 - query p=* 177 - query c=* 178 - } 180 + www.strawmelonjuice.com, 181 + strawmelonjuice.com { 182 + # Old strawmelonjuice.php and Cynthia Full pages that google is still trying and its annoying me. 183 + @old_php_pages { 184 + query p=* 185 + query c=* 186 + } 179 187 180 - handle @old_php_pages { 181 - respond "This content is no longer available." 410 182 - } 183 - # ===================------ ATPROTO ------=================== 184 - handle_path /.well-known/atproto-did { 185 - respond "did:plc:jgtfsmv25thfs4zmydtbccnn" 186 - } 188 + handle @old_php_pages { 189 + respond "This content is no longer available." 410 190 + } 191 + # ===================------ ATPROTO ------=================== 192 + handle_path /.well-known/atproto-did { 193 + respond "did:plc:jgtfsmv25thfs4zmydtbccnn" 194 + } 187 195 188 - # ================---- Matrix Homeserver ----================ 189 - handle /.well-known/matrix/* { 190 - header Access-Control-Allow-Origin "*" 191 - header Content-Type "application/json" 196 + # ================---- Matrix Homeserver ----================ 197 + handle /.well-known/matrix/* { 198 + header Access-Control-Allow-Origin "*" 199 + header Content-Type "application/json" 192 200 193 - # Using a Matcher inside the handle to respond differently 194 - @server path /.well-known/matrix/server 195 - respond @server `{"m.server": "strawmelonjuice.com:443"}` 201 + # Using a Matcher inside the handle to respond differently 202 + @server path /.well-known/matrix/server 203 + respond @server `{"m.server": "matrix.strawmelonjuice.com:443"}` 196 204 197 - @client path /.well-known/matrix/client 198 - respond @client `{"m.homeserver": {"base_url": "https://strawmelonjuice.com"}}` 199 - } 205 + @client path /.well-known/matrix/client 206 + respond @client `{"m.homeserver": {"base_url": "https://strawmelonjuice.com"}}` 207 + } 200 208 201 - handle /_matrix/* { 202 - reverse_proxy matrix:8008 203 - } 209 + handle /_matrix/* { 210 + reverse_proxy matrix:8008 { 211 + transport http { 212 + read_timeout 300s 213 + write_timeout 300s 214 + dial_timeout 30s 215 + } 216 + } 217 + } 204 218 205 - handle /_synapse/client/* { 206 - reverse_proxy matrix:8008 207 - } 219 + handle /_synapse/client/* { 220 + reverse_proxy matrix:8008 221 + } 208 222 209 - # ===================------ My Site ------=================== 210 - handle { 211 - root * /srv/strawmelonjuice-site/ 212 - try_files {path} {path}/index.html /unpopulated.html unpopulated.html 213 - file_server 214 - } 215 - } 223 + # ===================------ My Site ------=================== 224 + handle { 225 + root * /srv/strawmelonjuice-site/ 226 + try_files {path} {path}/index.html /unpopulated.html unpopulated.html 227 + file_server 228 + } 229 + } 216 230 ''; 217 231 218 232 # Owncloud ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ··· 299 313 services.podman.containers.forgejo = { 300 314 autoStart = true; 301 315 autoUpdate = "registry"; 302 - image = "codeberg.org/forgejo/forgejo:15.0.4"; 316 + image = "codeberg.org/forgejo/forgejo:16"; 303 317 network = "server-net"; 304 318 ports = [ 305 319 "222:22"