Welcome! Log In Create A New Profile

Advanced

Re: rewrite rule with consistent document structure

J.R.
January 16, 2020 01:18PM
> 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
_______________________________________________
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx
Subject Author Posted

rewrite rule with consistent document structure

xrd January 16, 2020 11:47AM

Re: rewrite rule with consistent document structure

J.R. January 16, 2020 01:18PM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 173
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready