changes to the mediaproxy setup page for apache.
This is related to the commit c75e643a. I can't edit the wiki, so here are the changes:
- In the Explanation section, change the last sentence to:
With the
mediaproxy
function you can use the caching ability of nginx or Apache to cache the content closer to the user: on your server.
-
Change the Activate it section to say Activate it for nginx
-
After that section and before the Append the following to your ... sentence, add a section for Apache:
Activate it for Apache
Enable the caching modules: a2enmod cache cache_disk
Edit your apache config file and uncomment these lines:
<IfModule mod_cache_disk.c>
CacheRoot /var/cache/apache2/mod_cache_disk
CacheDirLevels 1
CacheDirLength 2
CacheEnable disk /proxy
CacheLock on
</IfModule>
- Change the last line to _Restart Pleroma and your web server.