Skip to content

Instantly share code, notes, and snippets.

@mjdavies
Created July 12, 2016 11:31
Show Gist options
  • Save mjdavies/6d9518fcc9d2638bac936b7345620a2d to your computer and use it in GitHub Desktop.
Save mjdavies/6d9518fcc9d2638bac936b7345620a2d to your computer and use it in GitHub Desktop.
server {
listen 80 default;
server_name www.bob.com www.jerry.com www.philip.com;
if $host = "www.philip.com" {
rewrite /name.php }
......
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment