1、轻量级的用Nginx或者lighttpd
lighttpd非常轻量,资源占用也很低,非常低
安装:
sudo apt-get install lighttpd
把自己的网站放置到指定目录下eg:
/opt/collect/index.html
修改:
/etc/lighttpd/lighttpd.conf
将document-root后面改成/opt/collect即可
1、轻量级的用Nginx或者lighttpd
lighttpd非常轻量,资源占用也很低,非常低
安装:
sudo apt-get install lighttpd
把自己的网站放置到指定目录下eg:
/opt/collect/index.html
修改:
/etc/lighttpd/lighttpd.conf
将document-root后面改成/opt/collect即可