On 2019-05-24 08:27, User via nginx wrote:
> I'm trying to make simple rewrite to work and found that $args and other
> $1 vars from rewrite&try_files are always empty.
>
> location /product/ {
> rewrite ^/product/(.*)/$ /$1.txt last;
> }Use 'break' instead of 'last' as per https://nginx.org/en/docs/http/ngx_http_rewrite_module.html#rewrite Patrick _______________________________________________ nginx mailing list [email protected] http://mailman.nginx.org/mailman/listinfo/nginx
