NGINX Not Loading - sed: bad option in substitution expression

Hi guys. I am not very technical, so despite searching the forums and Google, I haven’t found a solution. I appreciate your help.
I am trying to establish remote access. I see there are a million methods for this. I tried to follow this guide, as the NGINX appears to be helpful for the Konnected component I hope to install in the future.
This is the guide I used:
https://help.konnected.io/support/solutions/articles/32000023964-set-up-hass-io-with-secure-remote-access-using-duckdns-and-nginx-proxy
I followed all the instructions, and the Duck DNS part worked / loaded fine.
Next I went to install the NGINX component, and it takes a while, but after refreshing the log a few times, this is what happens:
Log starting version 3.2.4 [INFO] Generating dhparams (this will take some time)… Generating DSA parameters, 4096 bit long prime …+…+…+…+…+…+…+…+…+…+…+…+…+…+…+…+…+…+.+++++++++++++++++++++++++++++++++++++++++++++++++++* …+…+…+…+…+…+…+…+…+…+…+…+…+…+…+…+…+…+…+.+…+…+…+.+…+…+…+.+.+…+.+…+…+.+…+…+…+…+++++++++++++++++++++++++++++++++++++++++++++++++++* [INFO] Creating ‘snakeoi l’ self-signed certificate… Generating a 2048 bit RSA private key …+++ …+++ writing new private key to ‘/data/ssl-cert-snakeoil.key’ ----- sed: bad option in substitution expression

It is the sed: bad option in substitution expression I don’t understand. More importantly, I don’t really need to understand it, I just want the component to load / work!
I have a raspberry pi 3. The Hassio is up to date.
Reading on the internet, there is talk about there being a “/” symbol messing up Linux code.
Any thoughts would be appreciated.
Of note, I didn’t yet forward any ports or assign the Raspberry pi a static IP on the router, as that step was listed 3rd on the above instructions. Would that make any difference? Should I do that first before loading the NGINX?
If have tried uninstalling the component, and reinstalling it. No luck.
Thank you.

I have the same system as you with Konnected. Can you try setting the static IP and forwarding ports 80 and 443 and then restarting NGINX. If not, can you show your NGINX settings?
cheers
Mark

Mark, I forwarded port 443 first, then loaded the duckdns and then the NGINX add-ons.
Both loaded no problem!
My hassio is password protected. My Googel Wifi has a firewall, and Plug n Play is off.
I’m not advanced enough to really know if there is any significant increase in security by not forwarding Port 80, too. I’m assuming that step basically helps redirect if you forget the https vs http?
In a perfect world, it looks like accessing the HA remotely through a VPN is the “safest” way to go. Maybe someday I’ll figure that out.
Anyhow, thanks again for the assistance! It is greatly appreciated.
Half of the fun of this home assistant is trying to figure things out, and finally getting them to work.
Now that I have remote access…I can start working on the Konnected unit.
Thanks again,
David

well done David!! Yes I am still on my journey on Konnected.
Have you managed to access the configurator remotely? Since using NGINX I am getting a “no auth header received” when access it remotely. It works locally, so I assume it is a setting in NGINX.
cheers
Mark

I was connecting remotely today at work, and like you, couldn’t connect to the configurator. Nothing shows up. All the other panels work fine.
If you find a solution, please let me know! Best of luck,
David

I have tried everything including my friend Google. However I seem to be in the same place. I am getting the error : sed: bad



After I reload the NGIX proxy still no luck

Hello,

is there a solution for this problem?
Have the same issue after start nginx in the log is this line:
sed: bad option in substitution expression
The Addon stops.

When I upgraded to the latest version of HA core & OS, I got NGIX to work.

Mine was something dumb, when I pasted the DuckDNS name it included “https://”.