proxy nginx behind k3s

This commit is contained in:
2026-05-24 23:35:04 -05:00
parent 3e988a08a0
commit 29a31820da
+3 -2
View File
@@ -187,13 +187,14 @@
services.nginx = lib.mkIf opts.default-nginx.enable { services.nginx = lib.mkIf opts.default-nginx.enable {
enable = true; enable = true;
virtualHosts.${opts.default-nginx.hostname} = {
forceSSL = true;
# allow proxy through k3s # allow proxy through k3s
defaultHTTPListenPort = 8080; defaultHTTPListenPort = 8080;
defaultSSLListenPort = 8443; defaultSSLListenPort = 8443;
virtualHosts.${opts.default-nginx.hostname} = {
forceSSL = true;
# Parse TLD from hostname to use wildcard cert (just takes last two elements separated by a period) # Parse TLD from hostname to use wildcard cert (just takes last two elements separated by a period)
useACMEHost = useACMEHost =
let let