Skip to content

Instantly share code, notes, and snippets.

@urre
Last active Mar 17, 2016
Embed
What would you like to do?
Site configuration
# 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