Page Menu
Home
DevCentral
Search
Configure Global Search
Log In
Files
F3752512
D2027.id5128.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
506 B
Referenced Files
None
Subscribers
None
D2027.id5128.diff
View Options
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
Details
Attached
Mime Type
text/plain
Expires
Mon, Nov 18, 19:18 (1 h, 40 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2251048
Default Alt Text
D2027.id5128.diff (506 B)
Attached To
Mode
D2027: Allow photos.nasqueron.org/@username URL
Attached
Detach File
Event Timeline
Log In to Comment