Upgrade all HTTP requests in one place

This commit is contained in:
phantom 2024-08-14 14:58:47 -05:00
parent 1007c68227
commit 01b938ec5a
10 changed files with 7 additions and 62 deletions

View file

@ -70,10 +70,3 @@ server {
return 301 $1;
}
}
server {
listen 80;
server_name 4get.nadeko.net;
return 301 https://4get.nadeko.net$request_uri;
}

View file

@ -17,10 +17,3 @@ server {
listen 443 ssl;
http2 on;
}
server {
listen 80;
server_name datamining.nadeko.net;
return 301 https://$host$request_uri;
}

View file

@ -19,10 +19,3 @@ server {
http2 on;
}
server {
listen 80;
server_name git.nadeko.net;
return 301 https://git.nadeko.net$request_uri;
}

View file

@ -38,10 +38,3 @@ server {
include conf.d/inv.conf.locations;
}
server {
listen 80;
server_name inv.nadeko.net;
return 301 https://inv.nadeko.net$request_uri;
}

View file

@ -29,9 +29,3 @@ server {
http2 on;
}
server {
listen 80;
server_name keygenmusic.nadeko.net;
return 301 https://$host$request_uri;
}

View file

@ -30,10 +30,3 @@ server {
http2 on;
}
server {
listen 80;
server_name luna.nadeko.net;
return 301 https://luna.nadeko.net$request_uri;
}

View file

@ -70,10 +70,3 @@ server {
listen 443 ssl;
http2 on;
}
server {
listen 80;
server_name materialious.nadeko.net syncious.nadeko.net peerjs.nadeko.net;
return 301 https://$host$request_uri;
}

View file

@ -18,10 +18,3 @@ server {
http2 on;
}
server {
listen 80;
server_name pbin.zzls.xyz pbin.nadeko.net;
return 301 https://pbin.nadeko.net$request_uri;
}

View file

@ -24,10 +24,3 @@ server {
listen 443 ssl;
http2 on;
}
server {
listen 80;
server_name peertube.nadeko.net;
return 301 https://$host$request_uri;
}

View file

@ -5,3 +5,10 @@ server {
listen 443 ssl;
listen 80;
}
# HTTPS Redirector
server {
listen 80;
return 301 https://$host$request_uri;
}