douyin2435 2017-06-02 12:36
浏览 58

在Docker或物理主机上托管WordPress

I am planning to create a shared WordPress hosting system for clients.

The needed services are : PHP, MySQL/MariaDB, SFTP, (Nginx/Apache : which one is better and faster and more secure ? )

  • If i am going to use Docker then the applications are going to be mounted on a volume on the Docker host the container will include the PHP files.
  • If on a physical CentOS or Ubuntu host then all the websites will share the same PHP files.

The Nginx/Apache will be one for all the websites, and one database engine to serve them all.

Have anyone done such scenario? what do you suggest, what are the advantages and disadvantages in both cases.

  • 写回答

2条回答 默认 最新

  • doubairan4213 2017-06-03 17:53
    关注

    Nginx with Fastcgi is more secure and fast. You can limit max request/ip after the connection will throttled. For database use mariadb. For caching the whole wordpress site use memcached. It will load your whole site in ram and reduce server load. Best for static wordpress site as well as dynamic.

    评论

报告相同问题?

悬赏问题

  • ¥15 高德地图点聚合中Marker的位置无法实时更新
  • ¥15 DIFY API Endpoint 问题。
  • ¥20 sub地址DHCP问题
  • ¥15 delta降尺度计算的一些细节,有偿
  • ¥15 Arduino红外遥控代码有问题
  • ¥15 数值计算离散正交多项式
  • ¥30 数值计算均差系数编程
  • ¥15 redis-full-check比较 两个集群的数据出错
  • ¥15 Matlab编程问题
  • ¥15 训练的多模态特征融合模型准确度很低怎么办