Removing redirect for www. subdomain, seems unnecessary

This commit is contained in:
Peter Rhoades 2013-07-10 17:40:05 +01:00
parent c0b00070ea
commit bdfb8ca441

View file

@ -11,11 +11,6 @@ server {
client_max_body_size 50M; client_max_body_size 50M;
error_page 500 502 503 504 /50x.html; error_page 500 502 503 504 /50x.html;
if ($host ~* "www") {
rewrite ^(.*)$ http://<%= @server_name %>$1 permanent;
break;
}
location = /50x.html { location = /50x.html {
root html; root html;
} }