Module ngx_http_rewrite_module - Nginx
nginx.org/en/docs/http/ngx_http_rewrite_module.htmlThe ngx_http_rewrite_module module is used to change request URI using PCRE regular expressions, return redirects, and conditionally select configurations.. The break, if, return, rewrite, and set directives are processed in the following order: . the directives of this module specified on the server level are executed sequentially; repeatedly: a location is searched based on a …