aboutsummaryrefslogtreecommitdiff
path: root/installation
diff options
context:
space:
mode:
Diffstat (limited to 'installation')
-rw-r--r--installation/pleroma.nginx6
1 files changed, 3 insertions, 3 deletions
diff --git a/installation/pleroma.nginx b/installation/pleroma.nginx
index d53852984..273cfb390 100644
--- a/installation/pleroma.nginx
+++ b/installation/pleroma.nginx
@@ -82,15 +82,15 @@ server {
}
# Uncomment this if you want notice compatibility routes for frontends like Soapbox.
- # location ~ /@([^/]+)/([^/]+) {
+ # location ~ ^/@[^/]+/([^/]+)$ {
# proxy_pass http://phoenix/notice/$1;
# }
#
- # location ~ /@([^/]+)/posts/([^/]+) {
+ # location ~ ^/@[^/]+/posts/([^/]+)$ {
# proxy_pass http://phoenix/notice/$1;
# }
#
- # location ~ /([^/]+)/status/([^/]+) {
+ # location ~ ^/[^/]+/status/([^/]+)$ {
# proxy_pass http://phoenix/notice/$1;
# }