diff --git a/nginx.conf b/nginx.conf index c19a516..a4635cf 100644 --- a/nginx.conf +++ b/nginx.conf @@ -28,7 +28,7 @@ http { server { listen 80; - server_name localhost; + server_name theorangeone.net; root /usr/share/nginx/html; index index.html; @@ -57,4 +57,9 @@ http { error_page 500 502 503 504 /50x.html; } + server { + listen 80; + server_name www.theorangeone.net; + return 303 $scheme://theorangeone.net$request_uri; + } }