nothing in the web2py log file, file not even created!

I don't know how to define the favico.ico in nginx. 
However, if I delete the routes.py everything works, but I need to define 
domains for my apps!

On Thursday, 16 April 2020 01:38:28 UTC+2, Dave S wrote:
>
>
>
> On Wednesday, April 15, 2020 at 4:20:18 PM UTC-7, Anatoli Hristov wrote:
>>
>> Found some log in nginx access.log:
>>
>> 10.63.238.14 - - [15/Apr/2020:23:18:00 +0000] "GET / HTTP/1.0" 500 21 "-" 
>> "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like 
>> Gecko) Chrome/80.0.3987.163 Safari/537.36"
>> 10.63.238.14 - - [15/Apr/2020:23:18:01 +0000] "GET /favicon.ico HTTP/1.0" 
>> 500 21 "https://my.domain.xyz/"; "Mozilla/5.0  AppleWebKit/537.36 (KHTML, 
>> like Gecko) Chrome/80.0.3987.163 Safari/537.36"
>>
>
> Your ".xyz" matches what is in the routes.py?
>
> If you're not having nginx short cut to the static files (favicon.ico, in 
> this case), then I would turn on web2py logging and see if the web2py.log 
> has anything  
>
> Taking a quick look at my routes.py, I don't set domains, just the default 
> application, but I do add
> root_static = ['favicon.ico', 'robots.txt']
>
>
> Don't know if that will help, but then I'm not a routes.py power user.
>
> /dps
>
>

-- 
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 web2py+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/web2py/0af15597-3ee9-462b-a354-06cf3aac63a4%40googlegroups.com.

Reply via email to