Nix configurations for my homelab
0

Configure Feed

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

at main 636 B View raw
1{ ... }: 2{ 3 services.caddy.virtualHosts."cloud.lilac.pink".extraConfig = '' 4 encode 5 reverse_proxy [::1]:8080 { 6 # NixOS uses nginx as a webserver for NextCloud by default and nginx will send 301 redirects to the client 7 # using http as the protocol instead of https since it doesn't have SSL certs of its own. 8 # Because the redirect isn't also https, this can cause a Content-Security-Policy error on the client. 9 # In practice this prevents us from enabling apps on NextCloud without this line. 10 header_down Location http:// https:// 11 12 transport http { 13 versions h2c 14 } 15 } 16 ''; 17}