angular-seo
angular-seo copied to clipboard
Restrict external access to Phantomjs
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
I would suggest blocking the 8888 port of your server for external requests