Turn from Secure Nginx Proxy Setup to Native

Topics (not sure which fora)
when not sure where to post, post here and mods will move it to right forum.

Moderators: leecollings, remb0

Post Reply
nitpicker
Posts: 69
Joined: Tuesday 29 July 2014 10:05
Target OS: Raspberry Pi / ODroid
Domoticz version: 2022.2
Contact:

Turn from Secure Nginx Proxy Setup to Native

Post 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).
nitpicker
Posts: 69
Joined: Tuesday 29 July 2014 10:05
Target OS: Raspberry Pi / ODroid
Domoticz version: 2022.2
Contact:

Re: Turn from Secure Nginx Proxy Setup to Native

Post by nitpicker »

No one with decent Linux knowledge who can help me out?
jmleglise
Posts: 192
Joined: Monday 12 January 2015 23:27
Target OS: Raspberry Pi / ODroid
Domoticz version: 2022.1
Location: FRANCE
Contact:

Re: Turn from Secure Nginx Proxy Setup to Native

Post 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 !
My script : https://github.com/jmleglise
RFXTRX433E: Blind Somfy RTS, Portal Somfy Evolvia, chacon IO, Oregon, PIR sensor PT2262
My Last project : Location de vacances a Ouistreham vue mer
KMTronic USB relay
Chinese Z-WAVE: Neo CoolCam
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest