Category Archives: Uncategorized
Have you ever wondered where PHP gets the domain name of its server? I know, the answer is $_SERVER[‘SERVER_NAME’] – but where does that value actually come from?
NGINX is great. Fast, efficient, etc. But the “location” rules are a bit cryptic and not very well explained in the manuals. There are 4 types of location rule, and are applied with the following priorities: