Articles of lighttpd

结合IPv4和IPv6的lighttpdconfiguration

我的lighttpd.conf包含以下几行: $SERVER["socket"] == "188.40.236.66:443" { ssl.engine = "enable" ssl.ca-file = "/etc/lighttpd/ssl/startcom.ca.pem" ssl.pemfile = "/etc/lighttpd/ssl/www.unixforces.net.pem" } $SERVER["socket"] == "[2a01:4f8:100:30a5:0:bc28:ec43:2]:443" { ssl.engine = "enable" ssl.ca-file = "/etc/lighttpd/ssl/startcom.ca.pem" ssl.pemfile = "/etc/lighttpd/ssl/www.unixforces.net.pem" } 是否有可能将这两个块合并为一个? $SERVER["socket"]只允许==和不=~ 。

Lighttpd无法创buildphp-fastcgi.socket

我已经使用yum安装了FastCGI,并编辑了我的lighttpd.conf,但重新启动服务器时收到此错误。 2009-06-24 12:44:43: (log.c.97) server started 2009-06-24 12:44:43: (mod_fastcgi.c.924) bind failed for: unix:/var/run/lighttpd/php-fastcgi.socket-0 No such file or directory 2009-06-24 12:44:43: (mod_fastcgi.c.1365) [ERROR]: spawning fcgi failed. 2009-06-24 12:44:43: (server.c.902) Configuration of plugins failed. Going down. 我的lighttpd.conf的相关部分是: fastcgi.server = ( ".php" => ( "localhost" => ( #"socket" => "/var/run/lighttpd/php-fastcgi.socket", #"bin-path" => "/usr/bin/php-cgi" "socket" => "/tmp/php-fastcgi.socket", "bin-path" => […]

使用lighttpd运行node.js应用程序

我目前正在我的服务器上托pipe一些网站,我使用Lighttpd。 现在我正在开发一个使用Node.js的Web应用程序,我希望能够创build指向Node.js应用程序的虚拟主机。 假设我想将test.com:80指向myserver.org:3000。 我不相信可以直接使用Node.js,因为端口80已经在机器上注册了。 所以我看到的唯一方法是使用Lighttpd的某种反向代理。 但我不知道如何以及如何去做。

HAproxy 503服务不可用无服务器可用于处理此请求

我是新来的这个负载平衡的情况下,我负责找出如何使这个负载平衡的作品。 我的环境: Centos 6.4 64 Bit Webserver: Lighttpd All running in ESXI virtual IP: 192.168.1.6 LB1: 192.168.1.4 LB2: 192.168.1.5 Webserver 1: 192.168.1.12 Webserver 2: 192.168.1.13 Gateway: 192.168.1.1 尝试在HAproxy生产之前在实验室中运行testing并保持活动状态。 以下是我在Keepalived设置中的内容: ! configuration文件keepalived global_defs { notification_email { [email protected] } notification_email_from [email protected] smtp_server 192.168.1.4 smtp_connect_timeout 30 router_id 192.168.1.1 } vrrp_script chk_haproxy { script "killall -0 haproxy" interval 1 […]

清除Apache后Lighttpd不启动

我试图在kubuntu 16.04上从Apache迁移到Lighttpd。 我用apt-get remove –purge apache2然后apt-get install lighttpd 运行systemctl start lighttpd我得到了错误信息 Job for lighttpd.service failed because the control process exited with error code. See "systemctl status ligttpd.service" and "journalctl -xe" for details. journalctl -xe的内容是:结果失败。 Mai 25 15:25:36 Heizschrank systemd[1]: lighttpd.service: Unit entered failed state. Mai 25 15:25:36 Heizschrank systemd[1]: lighttpd.service: Failed with result 'exit-code'. Mai […]

如何在lighttpd上禁用未encryption的stream量(端口80)

我们想运行一个只有SSL的lighttpd进程。 应该使用哪个configuration选项来closures端口80的未encryptionstream量? Lighttpd文档只对httpsstream量提供“redirect”,但我们希望在端口80上完全静默。我们希望lighttpd只在443上监听encryption(https)stream量。 更新[解决方法] 只设置“ server.port = 443 ”没有帮助。 SSLconfiguration是: $SERVER["socket"] == "0.0.0.0:443" { ssl.engine = "enable" ssl.pemfile = "/etc/cert.pem" } 这给了错误。 can't bind to port: 0.0.0.0 443 Address already in use 删除条件SSL完全解决了这个问题,configuration成为: server.port = 443 ssl.engine = "enable" ssl.pemfile = "myweb.pem"

本地Web服务器的SSL证书

是否可以在本地networking上的多台机器上创build一个自签名证书,以防止浏览器抱怨它不是一个受信任的站点? 我们有一个产品,它基本上是一台运行lighttpd的计算机,用于configuration计算机的networking界面(路由器如何具有Web界面)。 也可以有许多这些机器在同一个networking上运行,具有dynamicIP。 我基本上想要做的是启用SSL的额外的安全性,但我不希望在本地networking上的人被给予一个浏览器警告证书不被信任。 这是可能吗?

nginx vs lighttpd for wordpress

哪个Web服务器更适合运行WordPress的几个实例? 他们都很容易安装,所以我想知道主要是关于性能。 会有区别吗? 我认为nginx提供静态文件更快。

Apache在Ubuntu上自动启动,需要停止重启lighttpd

我在我的web服务器的Apache和Ubuntu 9.04上的lighttpd有一些问题。 我只使用lighttpd,并在Ubuntu上停止了Apache。 出于某种原因,从几天前开始,Apache开始运行,我需要停止它,以重新启动lighttpd。 克龙对此没有任何意见。 而这个问题就在上周才开始存在。 可能是什么原因? 我如何禁用Apache?

是lighttpdbuild议生产networking服务器?

我一直在使用lighttpd作为我正在构build的基于scgi的webapp的开发networking服务器。 configuration简单和scgi进程间的自动负载平衡让我印象深刻。 获得mod_scgi在Apache中工作是一场噩梦。 我的开发环境没有遇到任何问题,但似乎已经不在积极的发展中(最后一个版本是八月份)。 电子邮件列表和论坛通常是死的。 虽然这本身不是一个问题的证据,但不活动似乎引发了问题。