Is it possible to share the same config on multiple servers?
Since the ports and passwords are generated randomly, is it possible to make multiple servers share same configurations? For example, I have server A and server B, and I want both servers have port 123 running Shadowsocks service and share the same password, encryption, protocol, etc.
I try to do this so that I can use Haproxy to run load balancer among multiple Outline servers.
Thank you!
@GavinTao1219 Thanks for the suggestion! Load balancing is something we're starting to think about but which we probably won't be able to address for some time. In the meantime, I think the only way to achieve this would be to manually mirror the contents of /root/shadowbox/persisted-state/shadowbox_config.json across each machine. Depending on how much churn you have in your access keys, this may or may not be viable.
@trevj am I right?:
add key for 'Bob'
edit /root/shadowbox/persisted-state/shadowbox_config.json and change Bob's password to qwerty123
now Bob can connect to Outline server using qwerty as password(as part of base64 string)
Are there any other configs/steps need to be done for this result?
@lgg Apologies for the slow reply. Yes, that should do it for Bob.
Not sure whether the thread is suitable for further discussion. Still, is there a possibility to unobtrusively (without service restart) update config.json? The main concern is better to be able to add existing access keys.
but I have nothing in my folder /root/shadowbox/persisted-state/