docker-cartojw/config
Nick Ballenger 5f0eb86bed Changing the Nginx config to a single file
I've combined the core nginx.conf with the proxy config, which all goes
into /etc/nginx/nginx.conf.

I've made a number of changes:

* Nginx now proxies both SQL API and Windshaft requests through Varnish.
* Nginx adds a custom HTTP header, X-Carto-Service, so that Varnish can
differentiate between backends (since it can't do so based on incoming
port).
* I've modified the primary Nginx log format to include more information
on how requests are being proxied--you can now see the upstream address
for proxied requests.
* I've added the `proxy_no_cache` and `proxy_cache_bypass` directives to
the Windshaft and SQL API proxy sections. Without those directives,
Nginx may attempt to act as a cache, returning 304 Not Modified for
resources that more accurately should be cached by Varnish (whose cache
is invalidated via a Postgres trigger for updated metadata).
2019-07-18 16:08:53 -07:00
..
app_config.yml Upgrade node + repin scikit-learn + sync config with sample 2019-04-09 15:20:17 +02:00
CartoDB-dev.js Sync config files 2018-04-04 22:23:54 +02:00
cartodb.nginx.proxy.conf Changing the Nginx config to a single file 2019-07-18 16:08:53 -07:00
database.yml Rename active record adaptor 2018-07-27 09:11:15 +02:00
varnish.vcl * Embed nginx inside Docker image so all services are reversed proxied behind port 80 2017-04-03 22:55:12 +02:00
WS-dev.js Dataviews did not show due to Windshaft opening dataviews on own port instead of reverse proxy 2017-04-13 14:32:49 +02:00