~abyxcos/nas.nix

630585d7a35877e846c4432c3cc4009f0eec4842 — root 10 months ago 0003b51
Enable SSL for our hosted sites now that the router is doing the right thing.
1 files changed, 4 insertions(+), 2 deletions(-)

M configuration.nix
M configuration.nix => configuration.nix +4 -2
@@ 7,11 7,13 @@
let
	unstableTarball = fetchTarball https://github.com/NixOS/nixpkgs/archive/nixos-unstable.tar.gz;
	nginxProxy = port: {
		enableACME = true;
		addSSL = true;
		# forceSSL = true;
		# enableACME = true;

		locations."/".proxyPass = "http://localhost:${toString port}";
		# locations."/".proxyWebsockets = true;
		locations."/".recommendedProxySettings = true;
		locations."/".proxyWebsockets = true;
	};
in {
	imports =