Add redirect to shorturl for wiki

This commit is contained in:
Ajay Ramachandran
2021-10-03 21:16:05 +02:00
parent 543fb535df
commit 895df94493

View File

@@ -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;
}