Welcome! Log In Create A New Profile

Advanced

nginx + EVE Online in-game browser

Posted by Kura 
nginx + EVE Online in-game browser
December 12, 2012 05:02PM
Hey, has anyone ever had an issue running a website through nginx that is accessible from the EVE Online in-game browser?

I know the in-game browser sends invalid headers:

Taken from tcpdump:

EVE_CORPNAME: Bite Me inc
EVE_CONSTELLATIONID: 21000263
EVE_SHIPID: 1008358396247
EVE_SHIPNAME: Test

In my nginx config I have:

server {
... snip ...
underscores_in_headers on;
ignore_invalid_headers off;

proxy_redirect off;
proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_pass_header EVE_SHIPNAME;

...
}

But I can clearly see from the backend Python FCGI process that none of the custom EVE headers are coming through.

nginx/0.7.67

Any ideas?



Edited 2 time(s). Last edit at 12/12/2012 05:04PM by Kura.
Re: nginx + EVE Online in-game browser
December 12, 2012 05:59PM
Fixed. Moved underscores_in_headers to http {}
Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 117
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready