I like to proxy my external subdomain directly to a specific user page and then restrict access to a set of predefined pages. I played around with a number of different configurations for location blocks but could not get it to work. Could not find anything in search either.
any help is very much appreciated.
here is what I like to achieve:
“..duckdns.org” proxy to “192.168.xx.xxx/page/”
protected via nginx certs and basic auth so that a user only has access to “” = “XX*”