add optional nginx configs to make more secure
Merge pull request #7580 from bbodenmiller/patch-7

add optional nginx configs to make more secure