Skip to content

Commit

Permalink
WWW to non-WWW!
Browse files Browse the repository at this point in the history
  • Loading branch information
Andre Bulatov committed Jan 22, 2016
1 parent b8cf6d7 commit 4a8542f
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions etc/nginx/sites-available/earmilk.com.conf
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
server {
listen 192.168.102.1:80;
server_name earmilk.com;
return 301 http://www.earmilk.com$request_uri;
server_name www.earmilk.com;
return 301 $scheme://earmilk.com$request_uri;
}

server {
listen 192.168.102.1:80;
server_name www.earmilk.com mulwray.earmilk.com;
server_name earmilk.com mulwray.earmilk.com;
charset utf-8;

# BEGIN W3TC Page Cache core
Expand Down

0 comments on commit 4a8542f

Please sign in to comment.