...
...
...
...
Table of Contents |
---|
Administrators running Swarm on a private, protected network may choose to allow clients on the external network to view the Swarm console without providing them access to the nodes themselves on the private network. Perform this by proxying the console from a privileged server that straddles the internal and external networks.
From a server running Apache HTTP Server, the following rewrite rule for URLs can be applied using the mod_rewrite rewrite module:
Code Block | ||
---|---|---|
| ||
<Location /storage/> RewriteEngine On RewriteRule ./storage/([ /]+)/(.)$ http://$1:90/$2 [P,L] </Location> |
...