Page 1 of 1

Turn from Secure Nginx Proxy Setup to Native

Posted: Thursday 20 October 2016 11:25
by nitpicker
I have configured domoticz with the Secure Nginx Proxy Setup, but I want to turn to the Native HTTPS / SSL support. I need a bit of help for this, because I'm not familiar with this part of linux.

Can anyone guide me through this process?

My setup is a Raspberry Pi B+ with latest domoticz version installed (Version: 3.4834, Build Hash: 8398125).

Re: Turn from Secure Nginx Proxy Setup to Native

Posted: Wednesday 02 November 2016 17:30
by nitpicker
No one with decent Linux knowledge who can help me out?

Re: Turn from Secure Nginx Proxy Setup to Native

Posted: Wednesday 02 November 2016 21:39
by jmleglise
Hi,

I don't know what you have done with the nginx proxy and how to revert it. But for the native SSL support, It's really native. You have nothing to do , except what I have written in the wiki. https://www.domoticz.com/wiki/Native_HT ... SL_support

If you want to go a bit further , I advise you to choose a non official port for SSL (not the 443) and disable the HTTP port to be sure to force the SSL.

Here is my config defined in /etc/init.d/domoticz.sh

#DAEMON_ARGS="$DAEMON_ARGS -www 8080"
DAEMON_ARGS="$DAEMON_ARGS -loglevel=1"
DAEMON_ARGS="$DAEMON_ARGS -sslwww 2222"

So to connect to domoticz you will type : https://IP:2222/

You want to access to your domoticz from outside ? => NAT ( port translation) this port to the IP of your domoticz in your Provider router. Ex : UDP and TCP port 2222 => port 2222 ip domoticz (often something like 192.168.0.x)

and of course , active the authentification !