summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHaoran S. Diao <0@hairydiode.xyz>2019-11-21 22:50:08 -0800
committerHaoran S. Diao <0@hairydiode.xyz>2019-11-21 22:50:08 -0800
commit4015df50296945b8f0168955f8b1c6bbb7c29eda (patch)
tree097c8c5f1338a287db95df379b7ee05a5774e63c
parent690eba96ae63b8f18d8de1b6557336981b0a63a4 (diff)
removed default server requirement in the nginx conf
-rw-r--r--ja.hairydiode.xyz.conf4
1 files changed, 1 insertions, 3 deletions
diff --git a/ja.hairydiode.xyz.conf b/ja.hairydiode.xyz.conf
index 92c54c5..bb7a602 100644
--- a/ja.hairydiode.xyz.conf
+++ b/ja.hairydiode.xyz.conf
@@ -19,9 +19,7 @@
# Default server configuration
#http redirects to https
server {
- listen 80 default_server;
- listen [::]:80 default_server;
- server_name hairydiode.xyz;
+ server_name ja.hairydiode.xyz;
return 301 https://$server_name$request_uri;
}
server {