summaryrefslogtreecommitdiff
path: root/installation
diff options
context:
space:
mode:
authorSean King <seanking2919@protonmail.com>2022-07-16 23:44:37 -0600
committerSean King <seanking2919@protonmail.com>2022-07-16 23:44:37 -0600
commit64e16e6a4be83e9328d62101cc21d10cf07e38fb (patch)
tree6bc83b4b124000f005d53502e1765dd8ef206469 /installation
parent8aba7c08d18eef1bb58f7f4a21de533ed52d36a3 (diff)
Document way to do notice compatibility routes with Nginx reverse-proxy instead
Diffstat (limited to 'installation')
-rw-r--r--installation/pleroma.nginx13
1 files changed, 13 insertions, 0 deletions
diff --git a/installation/pleroma.nginx b/installation/pleroma.nginx
index 9890cb2b1..8aed2daea 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;