ESP8266 Webserver Project

Moderator: Sprite_tm

User avatar
By Patriko
#15569 Hi!

I'd like to make devices runing esp-httpd accessible "from the Internet", everywhere, without any additional router (e.g. port forwarding) configuration. Just "plug&play".

The idea is to use the remote linux server, e.g. mylittlehome.com where will be some kind of deamon / apache / etc. and esp8266 devices will connect to it and listen. When somebody will call e.g. http://mylittlehome.com/gardenRelay request will be redirected to the esphttpd which will parse it and generate response.

In previous project we did it with linux based devices and it was working very good, but I was responsible for the hardware not software, so I've no idea about the details and person who developed this part is not in touch with us anymore.

Any suggestions how to start?
Thanks!
Patriko
User avatar
By Patriko
#15663 But it seems that reverse proxy requires direct access to the esp, e.g. in local network, isn't it?

Code: Select allProxyPass       /firsturl/  http://192.168.0.1/
ProxyPassReverse /firsturl/  http://192.168.0.1/
ProxyPass       /secondurl/  http://192.168.0.2/
ProxyPassReverse /secondurl/  http://192.168.0.2/


The idea was that esp runing esphttpd device is able to connect to proxy server from anywhere, for e.g. using McDonald's hotspot, using it known address and open a bridge which will allow to be accessed from anywhere, through the proxy. Is it possible with the reverse proxy?