kanhu
November 17, 2017, 11:24pm
7
@madmaxlamenace You just have to set reverse proxy to the second device with Lets encrypt install on the first server. You can use the YunoHost redirect app too.
My second device is a phone. It gets proxied through the YunoHost to the internet.
Solution:
Register a domain and install a Lets-Encrypt certificate for the domain on the YnoHost server:
yunohost domain add proxy.domain.tld
yunohost domain cert-install proxy.domain.tld
Go to the /etc/nginx/conf.d/proxy.domain.tld.d and create a file proxy.conf. Add the following code with your own second server ip:
location / {
proxy_pass https://192.168.0.100; #ip address of the other server(n…