You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

23 lines
522 B

server {
server_name ~^drop\.bakatrouble\.(pw|me)$;
root /srv/apps/drop/files;
include /srv/apps/drop/configs/nginx_include.conf;
}
server {
server_name ~^(?<dir>.*)\.drop\.bakatrouble\.(pw|me)$;
root /srv/apps/drop/subdomain_files/$dir;
include /srv/apps/drop/configs/nginx_include.conf;
}
server {
if ($host ~ ^(.*\.)?drop\.bakatrouble\.(pw|me)$) {
return 301 https://$host$request_uri;
}
listen 80;
server_name ~^(.*\.)?drop\.bakatrouble\.(pw|me)$;
return 404;
}