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