Page MenuHomeDevCentral

D2027.id5127.diff
No OneTemporary

D2027.id5127.diff

diff --git a/roles/paas-docker/nginx/files/vhosts/pixelfed.conf b/roles/paas-docker/nginx/files/vhosts/pixelfed.conf
--- a/roles/paas-docker/nginx/files/vhosts/pixelfed.conf
+++ b/roles/paas-docker/nginx/files/vhosts/pixelfed.conf
@@ -41,6 +41,11 @@
return 301 /settings/password;
}
+ # Allow @username to be coherent with Mastodon
+ location ~ /@(.*) {
+ return 301 /$1;
+ }
+
root /var/wwwroot-502/_default;
error_page 502 /502.html;
location /502.html {}

File Metadata

Mime Type
text/plain
Expires
Thu, Jan 23, 12:43 (17 h, 29 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2372163
Default Alt Text
D2027.id5127.diff (506 B)

Event Timeline