Added new variable to nginx resource to handle internal urls