summaryrefslogtreecommitdiff
path: root/installation
diff options
context:
space:
mode:
authorTusooa Zhu <tusooa@kazv.moe>2022-07-21 13:44:16 -0400
committerTusooa Zhu <tusooa@kazv.moe>2022-07-21 13:44:16 -0400
commit4350a205a4251760773b7ade75c882f4295d6cb0 (patch)
tree02bca6401bb88f73c7cff2e669b6edeab24fca91 /installation
parentfb268c43786d1b058a6ec1b53939d4c122ac2af2 (diff)
parent1f18ab36b541e62234ca63648dfce1b4a591f4aa (diff)
downloadpleroma-4350a205a4251760773b7ade75c882f4295d6cb0.tar.gz
pleroma-4350a205a4251760773b7ade75c882f4295d6cb0.zip
Merge remote-tracking branch 'upstream/develop' into HEAD
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..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;