Original by chriscook8 from esp8266.com I just modified to use ESP8266WebServer library for easy to handle the http request.
This is sample code not yet complete.
- when Wifi connected need to close the softAP.
| <VirtualHost ...> | |
| ... | |
| # Reverse Proxy | |
| ProxyRequests Off | |
| #ProxyPreserveHost On | |
| RequestHeader set X-Forwarded-Proto "https" | |
| ProxyPass /blog http://blog.example.org/blog | |
| ProxyPassReverse /blog http://blog.example.org/blog | |
| ... | |
| </VirtualHost> |