node.js 为 wordpress 博客提供服务 [英] node.js serve a wordpress blog
问题描述
我在机架空间服务器上使用 node.js 来为我的各种应用程序提供服务.(使用 node-http-proxy).
I am using node.js on my rackspace server to serve my various applications. (Using node-http-proxy).
但是,我想开始一个 wordpress 博客.为博客提供服务的唯一方法是通过 apache(或 nginx).
However, i would like to start a wordpress blog. The only way to serve the blog is via apache (or nginx).
有没有办法从 node.js 应用程序本身为我的 wordpress 博客提供服务?
Is there a way to server my wordpress blog from a node.js application itself?
推荐答案
您需要运行一些服务器来执行 PHP.节点是 JavaScript.
You need some server running to execute the PHP. Node is JavaScript.
无论是 apache、nginx/php-fpm 还是 php-fpm,您都需要一些东西来实际运行 wordpress 代码,然后使用您现在使用的相同代理系统.
Whether that's apache, or nginx/php-fpm or just php-fpm, you need something to actually run the wordpress code, then use the same proxying system you are using now.
这篇关于node.js 为 wordpress 博客提供服务的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!