[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Sks-devel] Question about apache2 configuration
From: |
Dmitry Yu Okunev (pks.mephi.ru) |
Subject: |
Re: [Sks-devel] Question about apache2 configuration |
Date: |
Tue, 12 Nov 2013 12:55:56 +0400 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130623 Thunderbird/17.0.7 |
Hello.
On 11/12/2013 12:42 PM, Filip Stefaniak wrote:
> Hi,
>
> I've tried to configure sks server with apache2 as described at
> https://bitbucket.org/skskeyserver/sks-keyserver/wiki/Peering
> But I had a problem. When sks was set to listen on port 11371, apache
> complained about listening on the same port. So I have changed the sks
> port to 11372 and configured Proxy to this port:
>
> <VirtualHost *:80 *:11371>
> ServerName klucze.achjoj.info
> <Proxy *>
> Order deny,allow
> Allow from all
> </Proxy>
> ProxyPass / http://127.0.0.1:11372/
> ProxyPassReverse / http://127.0.0.1:11372/
> ProxyVia On
> SetEnv proxy-nokeepalive 1
> </VirtualHost>
>
>
> This way almost everythink works fine (I have web access to the server
> at both ports: 80 and 11371) but at my status page the HTTP port is
> 11372 (which is closed by firewall) and is probably misleading for
> http://sks-keyservers.net/status/ where "Port 80" status is red.
>
> There are also other web pages on this server.
>
> What is your apache2 configuration with sks server, which works for you?
I'm using "nginx" as a frontend server (it's more lightweight and
secure, IMHO).
My vhost configuration file is included. Version of nginx is 1.4.1.
--
Best regards, Dmitry,
head of UNIX-tech department NRNU MEPhI,
tel. 8 (495) 788-56-99, add. 8255
frontend.conf
Description: Text document
signature.asc
Description: OpenPGP digital signature