On 2012-07-26 15:40, Phil Benchoff wrote: > Pulling this out of the thread about keyserver.cns.vt.edu: > > Nginx can set a Via: header in http responses: > > add_header Via "1.1 keyserver.example.com"; > > http://wiki.nginx.org/HttpHeadersModule#add_header > > (Note that it only adds the header on responses with result codes > 200, 204, 301, 302 or 304.) > > I would suggest adding this to the config example on the Peering page. > > You can also serve files with nginx, so I'd suggest offloading urls > other than /pks to nginx. >
This is a good idea, I just altered my own setup to reflect this, and it
now says
server {
listen ....:11371;
server_name keys.kfwebs.net;
location / {
root /path/to/sks/web;
index index.xhtml;
}
location /pks {
proxy_pass http://127.0.0.1:11372/pks;
add_header Via "1.1 keys.kfwebs.net";
}
}
--
----------------------------
Kristian Fiskerstrand
http://www.sumptuouscapital.com
Twitter: @krifisk
----------------------------
Corruptissima re publica plurimæ leges
The greater the degeneration of the republic, the more of its laws
----------------------------
This email was digitally signed using the OpenPGP
standard. If you want to read more about this
The book: Sending Emails - The Safe Way: An
introduction to OpenPGP security is now
available in both Amazon Kindle and Paperback
format at
http://www.amazon.com/dp/B006RSG1S4/
----------------------------
Public PGP key 0xE3EDFAE3 at http://www.sumptuouscapital.com/pgp/
signature.asc
Description: OpenPGP digital signature
_______________________________________________ Sks-devel mailing list [email protected] https://lists.nongnu.org/mailman/listinfo/sks-devel
