angular-seo icon indicating copy to clipboard operation
angular-seo copied to clipboard

Restrict external access to Phantomjs

Open perfumer opened this issue 9 years ago • 1 comments

Hi

I set up angular-seo with PhantomJS behind nginx on port, i.e. 8888. Now, when I go to the page http://example.com/foo/bar?escaped_content= I get fully rendered page. But I noticed, that http://example.com:8888/foo/bar is also accessible from browser and sends same page. I am wondering, if there is any way to restrict access from outside directly to PhantomJS 8888 port?

Thank you

perfumer avatar Aug 20 '15 11:08 perfumer

I would suggest blocking the 8888 port of your server for external requests

bharathsekar avatar Sep 08 '16 17:09 bharathsekar