Page MenuHomeDevCentral

D2027.id.diff
No OneTemporary

D2027.id.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
Tue, Nov 19, 16:13 (20 h, 48 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2251048
Default Alt Text
D2027.id.diff (506 B)

Event Timeline