Proxy : Allow remote access to office.
This commit is contained in:
parent
f856f61991
commit
0e3350bb01
|
@ -8,9 +8,9 @@ in {
|
||||||
set ''$${name} ${cfg.address}:${toString cfg.port};
|
set ''$${name} ${cfg.address}:${toString cfg.port};
|
||||||
|
|
||||||
location / {
|
location / {
|
||||||
allow ${container.localAccess};
|
# allow ${container.localAccess};
|
||||||
allow ${container.config.vpn.address};
|
# allow ${container.config.vpn.address};
|
||||||
deny all;
|
# deny all;
|
||||||
proxy_pass http://''$${name}$request_uri;
|
proxy_pass http://''$${name}$request_uri;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue