Document way to do notice compatibility routes with Nginx reverse-proxy instead
This commit is contained in:
parent
8aba7c08d1
commit
64e16e6a4b
5 changed files with 13 additions and 66 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue