Securing Esp8266 & Nginx Configuration

While surfing the internet I came across an article about securing your Esp8266. The author uses nginx, with an example, and config details on some of the interesting parts. I thought others may find this interesting and helpful, especially if your new to nginx configuration.

https://jjssoftware.github.io/secure-your-esp8266/

NOTE: As mentioned by @pacive below, the example config is missing authentication settings. For an example how to setup authentication please read the OH documentation for nginx found here https://www.openhab.org/docs/installation/security.html#options-for-secure-remote-access

1 Like

I don’t know if I’m missing something, but I don’t see any authentication in his example config, which means that anyone on the internet can access the esp. Ssl protects from many things but without authentication the server is just as open as regular http to anyone with the address…

2 Likes

Your right, thanks for pointing that out. I didn’t study the example shown but thought **“The Config Explained” section may be useful for someone new to nginx. I’ll edit my post to include, if using the example from this site, it has no authentication setting.

Thnaks

It’s still a good tutorial, one should just be aware what it does and what it doesn’t :slight_smile: