fucking dumb
This commit is contained in:
parent
e98bbcd12d
commit
c9fff30e22
1 changed files with 40 additions and 0 deletions
40
nginx/conf.d/librex.nadeko.net.conf
Normal file
40
nginx/conf.d/librex.nadeko.net.conf
Normal file
|
@ -0,0 +1,40 @@
|
|||
server {
|
||||
access_log /var/log/nginx/librex.nadeko.net.access.log;
|
||||
server_name librex.zzls.xyz librex.nadeko.net;
|
||||
include configs/general.conf;
|
||||
include configs/security.conf;
|
||||
|
||||
location / {
|
||||
add_header Content-Type text/plain;
|
||||
return 200 "LibreX is now deprecated, if you come from the hnhx/LibreX repository and want to try LibreX, you should use LibreY, a fork of LibreY maintained by a few individuals. hnhx just vanished without a trace.
|
||||
\t https://github.com/Ahwxorg/librey
|
||||
|
||||
You can also try using 4get if you want something fast and simple like LibreY
|
||||
|
||||
\t Main instance:\t https://4get.ca
|
||||
\t My Instance:\t https://4get.nadeko.net
|
||||
\t More Instances: \t https://4get.ca/instances
|
||||
|
||||
Good luck! (´ ∀ ` *)";
|
||||
}
|
||||
|
||||
listen 443 ssl;
|
||||
}
|
||||
|
||||
server {
|
||||
if ($host = librex.zzls.xyz) {
|
||||
return 301 https://$host$request_uri;
|
||||
}
|
||||
if ($host = zzls.xyz) {
|
||||
return 301 https://$host$request_uri;
|
||||
}
|
||||
if ($host = librex.nadeko.net) {
|
||||
return 301 https://$host$request_uri;
|
||||
}
|
||||
if ($host = nadeko.net) {
|
||||
return 301 https://$host$request_uri;
|
||||
}
|
||||
server_name librex.zzls.xyz librex.nadeko.net;
|
||||
listen 80;
|
||||
return 404;
|
||||
}
|
Loading…
Add table
Reference in a new issue