On Sunday, January 6, 2019 at 9:16:00 AM UTC-5, Shawn Michaels wrote: > > What you wrote makes sense to me, but in nginx log there is no localhost > or it's IP address alternative but public IP address, which confuses me. > With enabled hosts file line in log is my PC's local IP address. >
What matters is what web2py is receiving. See: https://github.com/web2py/web2py/blob/master/gluon/main.py#L335-L364 and https://github.com/web2py/web2py/blob/master/gluon/main.py#L391-L396 You can add some logging/print statements to the above sections of main.py to understand what is happening in each case. Anthony -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py (Source code) - https://code.google.com/p/web2py/issues/list (Report Issues) --- You received this message because you are subscribed to the Google Groups "web2py-users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.

