mutability / dump1090

Dump1090 is a simple Mode S decoder for RTLSDR devices
528 stars 137 forks source link

Optimize nginx configuration #80

Closed dschaper closed 8 years ago

dschaper commented 9 years ago

http://localhost/dump1090 now will respond with the gmap.html without needing a 301.

mutability commented 8 years ago

How does this interact with other stuff on the same install?

dschaper commented 8 years ago

I really need to comment my code so I remember what I did... But looking at it now, I'd say that it's probably a bad pull, it would take any requests to port 80 that weren't caught by a more specific server stanza and serve gmap.html as the index page. So it's the default configuration. If there was another domain being served it technically should have it's own server stanza, but if not this could cause issues. If you want to close it out and leave things as is, it should be fine.

mutability commented 8 years ago

Ok, yeah, that was my main concern, that it would stomp on config of other pages being served in parallel to the dump1090 stuff.