I made a PR on github but it was rejected.
The person who did it didn't even look through it.
I corrected all errors related to the path, they were also rigidly set starting with "/" which resulted in redirection to the main address, i.e. domain.com/

My contribution allows you to install the store in the base path location, e.g.:
domain.com/shop
Unfortunately, nginx configuration alone is not sufficient.

My PR:
https://github.com/nopSolutions/nopCommerce/pull/6852