Re: What HTTP headers does nginx send to SCGI and FastCGI application servers?

2014-12-03 Thread Some Developer
On 02/12/14 21:35, Cole Tierney wrote: On Tue, 02 Dec 2014 20:41:36 +, Some Developer wrote: I guess I'll just write my daemon and take a dump of all the headers manually to see exactly what to expect. At least then I can see how the library will perform under real world conditions.

Re: What HTTP headers does nginx send to SCGI and FastCGI application servers?

2014-12-02 Thread Some Developer
On 02/12/14 18:15, Richard Stanway wrote: Rather than the source, you should check the docs :) http://nginx.org/en/docs/http/ngx_http_fastcgi_module.html#parameters Not entirely what I meant but thanks for the link. I guess I'll just write my daemon and take a dump of all the headers manuall

What HTTP headers does nginx send to SCGI and FastCGI application servers?

2014-12-02 Thread Some Developer
I've looked through the nginx source code and couldn't find a specific list of HTTP headers that nginx passes through to SCGI and FastCGI application servers. I'm writing a simple SCGI and FastCGI application server in C++ and need to know what set of options are available to use. Unfortunat

Re: X-Frame-Options: Nginx includes header twice

2014-01-28 Thread Some Developer
On 27/01/2014 09:50, Jonathan Matthews wrote: On 27 January 2014 02:49, Some Developer wrote: Seems a bit strange to me that an application framework sets HTTP headers. Surely this should be left to the HTTP server? What are other peoples opinions on this? There are many instances where the

Re: X-Frame-Options: Nginx includes header twice

2014-01-26 Thread Some Developer
On 25/01/2014 07:51, wishmaster wrote: --- Original message --- From: "Some Developer" Date: 25 January 2014, 06:04:10 I'm running Nginx 1.4.4 on Ubuntu 12.04 and have added the X-Frame-Options header for one of my sites but in testing it appears that Nginx includes

X-Frame-Options: Nginx includes header twice

2014-01-24 Thread Some Developer
I'm running Nginx 1.4.4 on Ubuntu 12.04 and have added the X-Frame-Options header for one of my sites but in testing it appears that Nginx includes this itself in addition to user configured headers. Basically I want X-Frame-Options to be DENY but when I set that header Nginx also sends an X-Fr

Re: HSTS and X-Frame-Options

2013-07-11 Thread Some Developer
On 11/07/13 12:25, Some Developer wrote: Hi, I've just enabled HSTS and X-Frame Options in my nginx configuration (1.2.9) and was wondering if I have done it correctly. Currently my site has 4 server blocks. One to redirect domain.com to https://www.domain.com One to redirect www.domai

HSTS and X-Frame-Options

2013-07-11 Thread Some Developer
Hi, I've just enabled HSTS and X-Frame Options in my nginx configuration (1.2.9) and was wondering if I have done it correctly. Currently my site has 4 server blocks. One to redirect domain.com to https://www.domain.com One to redirect www.domain.com to https://www.domain.com One to redirec