Jump to content

Storage: Difference between revisions

No edit summary
Line 43: Line 43:
=== Proxy ===
=== Proxy ===


First we set up the reverse proxy as described in the linode and masto docs - we modified the nginx configuration slightly to use a different cache than the regular masto cache, and because you can't declare a <code>proxy_cache_path</code> within the server block as the linode docs have.
First we set up the reverse proxy as described in the linode and masto docs - we modified the [[Nginx]] configuration slightly to use a different cache than the regular masto cache, and because you can't declare a <code>proxy_cache_path</code> within the server block as the linode docs have.


The linode docs are also incorrect in their spec of the <code>proxy_set_header Host</code> directive. So our full config is below:
The linode docs are also incorrect in their spec of the <code>proxy_set_header Host</code> directive. So our full config is below: