Added nginx secure link support (issue #2859)