projects
/
akkoma
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
combined
(merge:
d1806ec
d5a13c1
)
Merge remote-tracking branch 'upstream/develop' into media-proxy
author
href
<href@random.sh>
Mon, 11 Dec 2017 01:45:28 +0000
(
02:45
+0100)
committer
href
<href@random.sh>
Mon, 11 Dec 2017 01:45:28 +0000
(
02:45
+0100)
1
2
installation/pleroma.nginx
patch
|
diff1
|
diff2
|
blob
|
history
diff --cc
installation/pleroma.nginx
index d882908e4c8347024ca4d1acf961ef3a2804ab77,6cf9f3fa0665d3fa4fd47d6d7410775cd32d51f0..4e88a426ddfc162887e2c49b86879c54c576daab
---
1
/
installation/pleroma.nginx
---
2
/
installation/pleroma.nginx
+++ b/
installation/pleroma.nginx
@@@
-22,15
-19,11
+22,18
@@@
server
server_name example.tld;
location / {
+ proxy_http_version 1.1;
+ proxy_set_header Upgrade $http_upgrade;
+ proxy_set_header Connection "upgrade";
proxy_pass http://localhost:4000;
}
+
+ location /proxy {
+ proxy_cache pleroma_media_cache;
+ proxy_cache_lock on;
+ proxy_pass http://localhost:4000;
+ }
+
include snippets/well-known.conf;
-}
+}