diff options
author | Haelwenn <contact+git.pleroma.social@hacktivis.me> | 2022-07-20 16:57:05 +0000 |
---|---|---|
committer | Haelwenn <contact+git.pleroma.social@hacktivis.me> | 2022-07-20 16:57:05 +0000 |
commit | 1f18ab36b541e62234ca63648dfce1b4a591f4aa (patch) | |
tree | 056c10573982bca6ad542ea582fbbe4a58bb6c95 /installation/pleroma.nginx | |
parent | fff7571e0d4713e4ae44e43405cb501f243db414 (diff) | |
parent | 3da1b2548dd5793fcf08050470252b9574991295 (diff) | |
download | pleroma-1f18ab36b541e62234ca63648dfce1b4a591f4aa.tar.gz pleroma-1f18ab36b541e62234ca63648dfce1b4a591f4aa.zip |
Merge branch 'resolve/notice-compatibility-routes-nginx' into 'develop'
Document way to do notice compatibility routes with Nginx reverse-proxy, fixes #2900
Closes #2900
See merge request pleroma/pleroma!3701
Diffstat (limited to 'installation/pleroma.nginx')
-rw-r--r-- | installation/pleroma.nginx | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/installation/pleroma.nginx b/installation/pleroma.nginx index 9890cb2b1..273cfb390 100644 --- a/installation/pleroma.nginx +++ b/installation/pleroma.nginx @@ -81,6 +81,19 @@ server { proxy_pass http://phoenix; } + # Uncomment this if you want notice compatibility routes for frontends like Soapbox. + # location ~ ^/@[^/]+/([^/]+)$ { + # proxy_pass http://phoenix/notice/$1; + # } + # + # location ~ ^/@[^/]+/posts/([^/]+)$ { + # proxy_pass http://phoenix/notice/$1; + # } + # + # location ~ ^/[^/]+/status/([^/]+)$ { + # proxy_pass http://phoenix/notice/$1; + # } + location ~ ^/(media|proxy) { proxy_cache pleroma_media_cache; slice 1m; |