Re: rewrite rule with consistent document structure

2020-01-16 Thread J.R.
> I want to make it so that NGINX serves up the HTML and images from the > parent directory and omits the public directory from the URI. In your case, using "alias" would be the way to go... http://nginx.org/en/docs/http/ngx_http_core_module.html#alias

rewrite rule with consistent document structure

2020-01-16 Thread xrd
I have a directory containing several directories with the exact same structure. I'll be adding more and more directories with the exact same structure. I want to make an NGINX rewrite rule that makes the URL as simple as possible. For example, here is two of those directories. Notice each has a