On Sun, Aug 23, 2020 at 4:21 AM vince <[email protected]> wrote: > On Saturday, August 22, 2020 at 11:42:00 AM UTC-7, [email protected] > wrote: >> >> Thsi means that every connection in the httpd log comes from >> 192.168.1.14. This also means that if I want to get logs, I'm going to >> have to get awstats on the main server, and tell it only to bother with >> connections going to 192.168.1.17. >> >> > If you reverse proxy, your webserver thinks all traffic came from the > proxy server, so yes you need to get logs from the proxy server to know > where the requests are really coming from. And yes it's an apache > question, not a weewx question. >
Have a look at the X-Forwarded-For HTTP header field. You should be able to use this to get the real client IP address into your backend webserver logs.. ( https://www.techstacks.com/howto/log-client-ip-and-xforwardedfor-ip-in-apache.htm ). -- David -- You received this message because you are subscribed to the Google Groups "weewx-user" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/weewx-user/CAOy9REnLpGHO_qm6PJjt6x%2BueazreDScj%2BLBHCmkfWoz%2BSgrtA%40mail.gmail.com.
