Sorry, but I can NOT find any “easy” solution in the 2 referenced links. They only offer the access to the main OH2 landing webpage
proxy_pass http://localhost:8080/;
which is NOT a restriction to a specific sitemap.
Furthermore in the thread of your second link (which I already knew) the statement from rlkoshak rather points to my problem instead of being the solution:
So once again my question: Is it possible to configure nginx to only grant access to one specific sitemap (and not all of OH2)? I have nginx already up and running with SSL and authentication. But the question is to rectrict access only to a specific sitemap.