Proxy : Allow remote access to office.

This commit is contained in:
Dmitry Voronin 2024-06-15 18:41:32 +03:00
parent f856f61991
commit 0e3350bb01
Signed by: voronind
SSH key fingerprint: SHA256:3kBb4iV2ahufEBNq+vFbUe4QYfHt98DHQjN7QaptY9k

View file

@ -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;
} }