Add www. alias to every host
Currently some services on Clicks do not have www. aliases. This becomes a
problem when other sites link do them due to a www. page displaying the default
"welcome to nginx" page. This commit fixes that.
Potential downsides notwithstanding...:
- Pages that do already have www. aliases will now have www.www. aliases
- All certificates will need to be regenerated
- Sites not setup through clicks helpers (nextcloud, privatebin) will not be
affected
...we have decided this is the best solution and would like to proceed
Change-Id: I2e0a505df9c150376d90b0957c6fdf31faee8ac4
Reviewed-on: https://git.clicks.codes/c/Clicks/NixHelpers/+/161
Tested-by: Ash Franks <pineafan@clicks.codes>
Reviewed-by: Ash Franks <pineafan@clicks.codes>
1 file changed
tree: a4d5379d13a9b4df4c80d31ff04c8df7ec44d464
- .gitreview
- default.nix
- flake.lock
- flake.nix
- LICENSE
- nginx.nix
- README.md
README.md
Clicks Nix Helpers
We write nix to manage our infrastructure, but sometimes it's too boilerplatey for us to want to write. This repository contains all the things that have made our jobs easier, we hope they help you too!