Created
February 19, 2016 14:27
-
-
Save peterk/5c8701ad51c40e10ad89 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ext_ip="10.0.0.1" # Change this value to your vultr IP | |
server "default" { | |
listen on $ext_ip port 80 | |
} | |
types { | |
text/css css ; | |
text/html htm html ; | |
text/txt txt ; | |
image/gif gif ; | |
image/jpeg jpg jpeg ; | |
image/png png ; | |
application/javascript js ; | |
application/xml xml ; | |
} | |
server "www.example.net" { | |
listen on $ext_ip port 80 | |
root "/htdocs/example.net" | |
} | |
server "www.example.com" { | |
listen on $ext_ip port 80 | |
root "/htdocs/example.com" | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment