Skip to content

Commit

Permalink
feat: give mediacenter endpoints cloudflare certs
Browse files Browse the repository at this point in the history
  • Loading branch information
ajaxbits committed Nov 20, 2023
1 parent e330fe0 commit 32e4b80
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion components/mediacenter/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,8 @@ in {
];

createReverseProxy = attr: {
"http://${attr.host}.ajax.casa".extraConfig = ''
"https://${attr.host}.ajax.casa".extraConfig = ''
import cloudflare
reverse_proxy http://localhost:${toString attr.port}
'';
};
Expand Down

0 comments on commit 32e4b80

Please sign in to comment.