-
Recent Posts
Recent Comments
- fisharebest on Exodus – Leaving GEDCOM behind…
- Wes Groleau on Exodus – Leaving GEDCOM behind…
- fisharebest on Exodus – Leaving GEDCOM behind…
- Stephen Arnold on Exodus – Leaving GEDCOM behind…
- fisharebest on Genesis – In the beginning was GEDCOM…
Archives
Categories
Meta
Tag Archives: nginx
Where does PHP get $_SERVER[‘SERVER_NAME’] – Apache versus NGINX
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?
Posted in Uncategorized
Tagged apache, nginx, php
Comments Off on Where does PHP get $_SERVER[‘SERVER_NAME’] – Apache versus NGINX
Understanding NGINX location rules
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: