summaryrefslogtreecommitdiff
path: root/installation/pleroma.nginx
diff options
context:
space:
mode:
authorHaelwenn <contact+git.pleroma.social@hacktivis.me>2022-12-23 17:43:21 +0000
committerHaelwenn <contact+git.pleroma.social@hacktivis.me>2022-12-23 17:43:21 +0000
commitf76c1d4f70fdda6da621a46fb75891e68e266946 (patch)
tree328aec763c24b6426decd30fe3b6a4674510bbee /installation/pleroma.nginx
parentd8e326467c30b95c5164f6e29512057dce3c2077 (diff)
parent91c22637de5f1683a32207a606c33e7ef3b84676 (diff)
downloadpleroma-f76c1d4f70fdda6da621a46fb75891e68e266946.tar.gz
pleroma-f76c1d4f70fdda6da621a46fb75891e68e266946.zip
Merge branch 'release/2.5.0' into 'stable'
Release 2.5.0 See merge request pleroma/pleroma!3816
Diffstat (limited to 'installation/pleroma.nginx')
-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..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;