@matrix The short answer is using proxy_pass. Are you trying to use that currently and not working?
@q I'm using
location ~ ^/system/(.*) {
rewrite ^ https://lowondisk.space/mastodon/$1;
}
I thought it would just replace part of the URL but it redirects all requests to https://lowondisk.space/mastodon
@matrix Yeah, try doing a proxy_pass instead. That’s how I’m able to route glowers.club on my VPS to my home server. https://stackoverflow.com/questions/63877741/nginx-proxy-pass-with-rewrite-and-regex
@q Looks like it's not working. I think that some part of the default Mastodon Nginx config might be conflicting with it.
@q Looks like I found a solution
https://github.com/cybrespace/cybrespace-meta/blob/master/s3.md#follow-up