mirror of
https://github.com/Stunkymonkey/nixos.git
synced 2025-05-24 09:54:40 +02:00
service/nginx: add todo about ipv6 reverse proxy
This commit is contained in:
parent
b76fde3f9f
commit
40b30c2a1b
1 changed files with 2 additions and 0 deletions
|
@ -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) {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue