Nginx caching reverse proxy

handle flavors in a smarter way, to avoid problems due to lack of permissions when creating flavors