There's two of us at 37signals building projects on top of the HttpLua / ngx_lua module. The OpenResty ( http://www.openresty.org ) project is absolutely worth a look if you are willing to live on the edge and you wan't incredibly fast performance. I can't say enough good things about the work agentzh and chaoslawful have been up to lately -- just check out their Github profiles.
agentzh's Nginx Tutorials
11–20 of 26 posts
Re: agentzh's Nginx Tutorials
#12That font is almost impossible to read.
Fix your browser/OS default font settings. This page have 0 styling and page with 0 styling should look perfect on your screen if you have everything configured correctly.
In my case that was much uglier, and I had to fix it to read the page.
Re: agentzh's Nginx Tutorials
#13Re: agentzh's Nginx Tutorials
#14That font is almost impossible to read.
Fix your browser/OS default font settings. This page have 0 styling and page with 0 styling should look perfect on your screen if you have everything configured correctly.
The page is hard to read on Mac using unmodified Firefox.
Re: agentzh's Nginx Tutorials
#15Re: agentzh's Nginx Tutorials
#16Earlier quoted context omitted.
Fix your browser/OS default font settings. This page have 0 styling and page with 0 styling should look perfect on your screen if you have everything configured correctly.
That page declares lang="zh" in the html tag. So it's probably not using the default font for Western or Unicode, but whatever the browser maps to Simplified Chinese. In my case that was much uglier, and I had to fix it to read the page.
While this is a reasonable explanation, I see many cases where system fonts set wrong and as a result an unstyled page look terrible.
Re: agentzh's Nginx Tutorials
#17Re: agentzh's Nginx Tutorials
#18Earlier quoted context omitted.
Fix your browser/OS default font settings. This page have 0 styling and page with 0 styling should look perfect on your screen if you have everything configured correctly.
That page declares lang="zh" in the html tag. So it's probably not using the default font for Western or Unicode, but whatever the browser maps to Simplified Chinese. In my case that was much uglier, and I had to fix it to read the page.
Re: agentzh's Nginx Tutorials
#19Earlier quoted context omitted.
That page declares lang="zh" in the html tag. So it's probably not using the default font for Western or Unicode, but whatever the browser maps to Simplified Chinese. In my case that was much uglier, and I had to fix it to read the page.
I see this as valid reason. Although, did not see difference on ubuntu and windows. What browser + OS you use? While this is a reasonable explanation, I see many cases where system fonts set wrong and as a result an unstyled page look terrible.
I saw the problem with Firefox 10 on CentOS. My default font was specifically configured to Bitstream Vera Serif.
Setting the default font in the Preferences seems to only change it for the encoding in the active tab (unless you go into the Advanced dialog). For several Asian languages it wanted to use "serif", which appears to be the 20-year-old X11 default version.
Re: agentzh's Nginx Tutorials
#20It's very nicely written and explains things well, but it doesn't so much teach nginx as it does point out all the contradictory and unexpected behaviors. That doesn't look fun to learn (or work with) at all.
Edit: I just looked in to agentzh's other project OpenResty, and I take everything back. It may be difficult, but it's extremely powerful, and seemingly worth dealing with the 'gotchas'.