service/nginx: add todo about ipv6 reverse proxy

This commit is contained in:
Felix Buehler 2022-12-25 12:37:41 +01:00
parent b76fde3f9f
commit 40b30c2a1b

View file

@ -261,6 +261,8 @@ in
(lib.optionalAttrs (args.port != null) { (lib.optionalAttrs (args.port != null) {
locations."/".proxyPass = locations."/".proxyPass =
"http://127.0.0.1:${toString args.port}"; "http://127.0.0.1:${toString args.port}";
# TODO make ipv6 possible
# http://[::1]:${toString args.port};
}) })
# Serve filesystem content # Serve filesystem content
(lib.optionalAttrs (args.root != null) { (lib.optionalAttrs (args.root != null) {