Fixed nginx templates which failed when there was not certains retricted resources
Merge branch 'jag/nginx-template-fix-restrictions'