mirror of
https://github.com/ajayyy/SponsorBlockServer.git
synced 2025-12-08 12:37:00 +03:00
Add redirect to shorturl for wiki
This commit is contained in:
@@ -221,6 +221,11 @@ http {
|
||||
|
||||
server {
|
||||
server_name wiki.sponsor.ajay.app; # managed by Certbot
|
||||
|
||||
location ~* ^/index.php/(?<pagename>.*)$ {
|
||||
return 301 /w/$pagename;
|
||||
}
|
||||
|
||||
location / {
|
||||
proxy_pass http://10.0.0.3:8080;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user