diff options
author | Sean King <seanking2919@protonmail.com> | 2022-07-18 21:30:57 -0600 |
---|---|---|
committer | Sean King <seanking2919@protonmail.com> | 2022-07-18 21:30:57 -0600 |
commit | 3da1b2548dd5793fcf08050470252b9574991295 (patch) | |
tree | 077078606e2c05d8bbcd9459f59ae5ff0e49eafe | |
parent | 2c7eed122e909f392e3d41efe43fc2b0b99fe842 (diff) | |
download | pleroma-3da1b2548dd5793fcf08050470252b9574991295.tar.gz |
Actually fix with forward slashes being restricted inside nickname
-rw-r--r-- | installation/pleroma.nginx | 6 |
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; # } |