erm
This commit is contained in:
parent
e9cd2ac924
commit
fa95de5af5
1 changed files with 3 additions and 3 deletions
|
@ -2,7 +2,7 @@ server {
|
||||||
access_log /var/log/nginx/zzls.xyz.log;
|
access_log /var/log/nginx/zzls.xyz.log;
|
||||||
root /var/www/website;
|
root /var/www/website;
|
||||||
index index.html;
|
index index.html;
|
||||||
server_name zzls.xyz www.zzls.xyz www.nadeko.net nadeko.net;
|
server_name _ zzls.xyz www.zzls.xyz www.nadeko.net nadeko.net;
|
||||||
include configs/general.conf;
|
include configs/general.conf;
|
||||||
include configs/security.conf;
|
include configs/security.conf;
|
||||||
|
|
||||||
|
@ -34,7 +34,7 @@ server {
|
||||||
# QUIC
|
# QUIC
|
||||||
include configs/http3.conf;
|
include configs/http3.conf;
|
||||||
|
|
||||||
listen 443 ssl;
|
listen 443 ssl default_server;
|
||||||
http2 on;
|
http2 on;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -65,6 +65,6 @@ server {
|
||||||
if ($host = nadeko.net) {
|
if ($host = nadeko.net) {
|
||||||
return 301 https://$host$request_uri;
|
return 301 https://$host$request_uri;
|
||||||
}
|
}
|
||||||
server_name zzls.xyz www.zzls.xyz nadeko.net www.nadeko.net;
|
server_name _ zzls.xyz www.zzls.xyz nadeko.net www.nadeko.net;
|
||||||
listen 80;
|
listen 80;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue