summaryrefslogtreecommitdiff
path: root/installation
diff options
context:
space:
mode:
authorSean King <seanking2919@protonmail.com>2022-07-17 12:50:01 -0600
committerSean King <seanking2919@protonmail.com>2022-07-17 12:50:01 -0600
commit2c7eed122e909f392e3d41efe43fc2b0b99fe842 (patch)
tree99909fbddf6fdb6ba25c3c2d3bcb2ed5d86574f5 /installation
parent64e16e6a4be83e9328d62101cc21d10cf07e38fb (diff)
Don't accept forward slash character for nicknames
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 8aed2daea..d53852984 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;
# }