Last active
March 17, 2016 12:23
-
-
Save urre/3982392 to your computer and use it in GitHub Desktop.
Site configuration
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
# Redirect everything to the main site. | |
server { | |
server_name mywebsite.se *.mywebsite.se; | |
root /var/www/nyttinstrument.se; | |
if ($http_host != "mywebsite.se") { | |
rewrite ^ http://mywebsite.se$request_uri permanent; | |
} | |
#include global/wordpress-w3-total-cache.conf; | |
include global/restrictions.conf; | |
include global/php5-fpm.conf; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment