Created
March 15, 2014 18:40
-
-
Save kjprince/9571919 to your computer and use it in GitHub Desktop.
/etc/nginx/sites-available/mysite.com
This file contains 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
# Virtual Host File | |
# Common wordpress configurations included in /etc/nginx/wordpress.conf | |
# All virtual hosts including this one are symlinked to /etc/nginx/sites-enabled | |
# Make sure you replace "mysite" with your domain name | |
server { | |
listen 80 default_server; | |
listen 443 ssl; | |
server_name mysite.com www.mysite.com *.mysite.com; | |
root /srv/www/mysite.com; | |
include /etc/nginx/wordpress.conf; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment