Created
March 21, 2017 21:29
-
-
Save jdstaerk/d0fdc25d7bf076012dbeb7dc419335b2 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
| server { | |
| listen 80 default_server; | |
| server_name example.com sub.example.com; | |
| index index.html index.htm | |
| root /path/to/my/root/html/dir; # Default is /var/www/html | |
| location / { | |
| try_files $uri $uri/ =404; | |
| } | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment