From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: tantalum Newsgroups: gmane.lisp.guile.user Subject: Re: Guile on nginx or lighttpd... Date: Sat, 26 Jul 2014 16:19:51 +0200 Message-ID: <53D3B907.9080004@posteo.eu> References: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1406384421 16553 80.91.229.3 (26 Jul 2014 14:20:21 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 26 Jul 2014 14:20:21 +0000 (UTC) To: Calvin Mitchell , guile-user@gnu.org Original-X-From: guile-user-bounces+guile-user=m.gmane.org@gnu.org Sat Jul 26 16:20:16 2014 Return-path: Envelope-to: guile-user@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1XB2pa-0008Kz-Rt for guile-user@m.gmane.org; Sat, 26 Jul 2014 16:20:14 +0200 Original-Received: from localhost ([::1]:59477 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XB2pa-00089X-0q for guile-user@m.gmane.org; Sat, 26 Jul 2014 10:20:14 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:60146) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XB2pN-00087N-EO for guile-user@gnu.org; Sat, 26 Jul 2014 10:20:05 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XB2pG-0005fj-RQ for guile-user@gnu.org; Sat, 26 Jul 2014 10:20:01 -0400 Original-Received: from mx02.posteo.de ([89.146.194.165]:45475 helo=posteo.de) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XB2pG-0005fL-Kl for guile-user@gnu.org; Sat, 26 Jul 2014 10:19:54 -0400 Original-Received: from localhost (localhost.localdomain [127.0.0.1]) by mail.posteo.de (Postfix) with ESMTP id 7C2BE25A3DE2; Sat, 26 Jul 2014 16:19:52 +0200 (CEST) X-Virus-Scanned: amavisd-new at posteo.de Original-Received: from posteo.de ([10.125.125.178]) (using TLS) by localhost (amavis1.posteo.de [10.125.125.165]) (amavisd-new, port 10026) with ESMTPS id qcczqZoak4mL; Sat, 26 Jul 2014 16:19:51 +0200 (CEST) Original-Received: from mail.posteo.de (localhost [127.0.0.1]) by mail.posteo.de (Postfix) with ESMTPSA id 3F2882C034A; Sat, 26 Jul 2014 16:19:51 +0200 (CEST) User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.6.0 In-Reply-To: X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 89.146.194.165 X-BeenThere: guile-user@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: General Guile related discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guile-user-bounces+guile-user=m.gmane.org@gnu.org Original-Sender: guile-user-bounces+guile-user=m.gmane.org@gnu.org Xref: news.gmane.org gmane.lisp.guile.user:11362 Archived-At: hi i used guile programs behind nginx, lighttpd and apache and maybe i can help. if you just like to have an http server, guile includes an implementation (http://www.gnu.org/software/guile/manual/html_node/Web-Examples.html#Web-Examples) if you are looking for running an application behind another web server, then two methods come to mind: 1. direct http proxying - http requests get copied to a running guile server application 2. proxying using a server interface like scgi - this way the application does not have to deal with http protocol request/connection details but with a server interface proxied you can use extra features like for example ssl, separated direct file access and load balancing. i can give examples for configuring nginx (or you could look here http://nginx.org/en/docs/http/ngx_http_proxy_module.html, http://nginx.org/en/docs/http/ngx_http_scgi_module.html) On 2014-07-25 23:37, Calvin Mitchell wrote: > Enjoyed article: > > http://wingolog.org/archives/2012/03/08/an-in-depth-look-at-the-performance-of-guiles-web-server > > ...but having a hard time finding any decent HOWTO on setting up guile with > a minimal web server...could you please point me in the right direction? > > Thanks! >