[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 13:26:15 +0400 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130623 Thunderbird/17.0.7 |
Hello, once more :).
On 11/12/2013 01:15 PM, Filip Stefaniak wrote:
> Hello,
>
> W dniu 2013-11-12 09:55, Dmitry Yu Okunev (pks.mephi.ru) pisze:
>> Hello.
>>> 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).
>
> On my server there is aleready an apache2 running. Can you estimate,
> how much memory your nginx instance needs?
grep VmPeak `pgrep nginx | awk '{print "/proc/"$1"/status"}'`
/proc/25720/status:VmPeak: 31088 kB
/proc/25723/status:VmPeak: 31584 kB
>> My vhost configuration file is included. Version of nginx is
>> 1.4.1.
>
> Thanks. But still - there is no conflict nginx vs sks server on
> listening on port 11371?
# netstat -npl | grep 11371
tcp 0 0 194.67.76.20:11371 0.0.0.0:*
LISTEN 25720/nginx.conf
tcp 0 0 127.0.0.1:11371 0.0.0.0:*
LISTEN 24600/sks
So, as you can see there's no conflict on my machine:
- 127.0.0.1:11371 is for sks
- 194.67.76.20:11371 is for nginx
You can do the same with apache. Just use
> Port external_ip_address:11371
in apache, and
> hkp_address: 127.0.0.1
in sksconf.
;)
--
Best regards, Dmitry,
head of UNIX-tech department NRNU MEPhI,
tel. 8 (495) 788-56-99, add. 8255
signature.asc
Description: OpenPGP digital signature
Re: [Sks-devel] Question about apache2 configuration, Gabor Kiss, 2013/11/20