Redirect luna.zzls.xyz to luna.nadeko.net
This commit is contained in:
parent
1db108526b
commit
3fbad0d471
|
@ -17,7 +17,6 @@ upstream http3-ytproxy {
|
|||
server {
|
||||
server_name inv.zzls.xyz;
|
||||
rewrite ^ https://inv.nadeko.net$request_uri? permanent;
|
||||
|
||||
include configs/ssl.conf;
|
||||
listen 443 ssl;
|
||||
}
|
||||
|
|
|
@ -1,7 +1,14 @@
|
|||
server {
|
||||
server_name luna.zzls.xyz;
|
||||
rewrite ^ https://luna.nadeko.net$request_uri? permanent;
|
||||
include configs/ssl.conf;
|
||||
listen 443 ssl;
|
||||
}
|
||||
|
||||
server {
|
||||
access_log /var/log/nginx/luna.zzls.xyz.access.log combined;
|
||||
error_log /var/log/nginx/luna.zzls.xyz.error.log;
|
||||
server_name luna.zzls.xyz luna.nadeko.net;
|
||||
server_name luna.nadeko.net;
|
||||
index index.php /_h5ai/public/index.php;
|
||||
root /mnt/ssd/luna.zzls.xyz/;
|
||||
include configs/general.conf;
|
||||
|
@ -33,9 +40,6 @@ server {
|
|||
}
|
||||
server {
|
||||
set $x "";
|
||||
if ($host = luna.zzls.xyz) {
|
||||
set $x 1;
|
||||
}
|
||||
if ($host = luna.nadeko.net) {
|
||||
set $x 1;
|
||||
}
|
||||
|
@ -43,6 +47,6 @@ server {
|
|||
return 301 https://$host$request_uri;
|
||||
}
|
||||
listen 80;
|
||||
server_name luna.zzls.xyz luna.nadeko.net;
|
||||
server_name luna.nadeko.net;
|
||||
return 404;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue