简体   繁体   中英

Deploy Prerender Service on local

I installed prerender middleware on my asp mvc + angularjs project, it connects to service.prerender.io but I want to use my own prerender service. how can I run prerender service on port 3000 on my local server ?

The code for the open source server is here: Prerender Github

The installation instructions are there on the Github page. You would then set the prerenderServiceUrl property of your middleware to point it to http://localhost:3000 or wherever you are running your own Prerender server and all requests would go there instead of our hosted service.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM