discourse/config
David Taylor f04471e422 REFACTOR: Proxy letter avatars in rails instead of nginx
Co-authored-by: Sam Saffron <sam.saffron@gmail.com>
Co-authored-by: David Taylor <david@taylorhq.com>

This gives more control over the request. In particular we can easily
lookup DNS dynamically, instead of only upon NGINX startup.
Previously, NGINX was looking up IP for the letter avatar service and
caching the CDN IP address, this caused issues if CDN changed IP, in
which letter avatars would be broken till a container restarted.

NGINX config has been updated to add caching. This change will require
a container rebuild.

The proxy will now function in development environments, so the patch
for `letter_avatar_proxy` has been removed.
2019-02-18 08:46:56 +11:00
..
cloud/cloud66 DEV: unpin Prettier version, apply to YAML files 2019-01-17 13:05:39 -05:00
environments Update Rubocop to 0.60 2018-12-04 10:48:16 +01:00
initializers DEV: Rescue from readonly error in lograge. 2019-01-21 14:20:19 +08:00
locales FIX: Add missing translation. (#7014) 2019-02-18 08:28:32 +11:00
application.rb DEV: explicitly require Rails components 2019-02-06 17:45:48 +11:00
boot.rb Update Rubocop to 0.60 2018-12-04 10:48:16 +01:00
cdn.yml.sample
database.yml DEV: unpin Prettier version, apply to YAML files 2019-01-17 13:05:39 -05:00
deploy.rb.sample enough with the malloc limit, not needed 2016-05-25 21:09:07 +10:00
discourse_defaults.conf FEATURE: add setting to bypass sending redis CLIENT commands 2019-01-04 15:08:33 +11:00
discourse.config.sample enough with the malloc limit, not needed 2016-05-25 21:09:07 +10:00
discourse.pill.sample
environment.rb prevent the application from starting in development mode when SMTP settings are changed 2016-06-03 17:39:54 +02:00
logrotate.conf
multisite.yml.production-sample
nginx.global.conf
nginx.sample.conf REFACTOR: Proxy letter avatars in rails instead of nginx 2019-02-18 08:46:56 +11:00
projections.json
puma.rb Add rubocop to our build. (#5004) 2017-07-28 10:20:09 +09:00
routes.rb REFACTOR: Proxy letter avatars in rails instead of nginx 2019-02-18 08:46:56 +11:00
sidekiq.yml FEATURE: introduce ultra_low priority queue 2019-01-17 14:53:19 +11:00
site_settings.yml REFACTOR: Proxy letter avatars in rails instead of nginx 2019-02-18 08:46:56 +11:00
spring.rb
thin.yml.sample
unicorn_launcher FIX: Increase timeout when trying to reload unicorn. 2018-12-04 13:43:14 +08:00
unicorn_upstart.conf enough with the malloc limit, not needed 2016-05-25 21:09:07 +10:00
unicorn.conf.rb Allow unicorn timeout to be configurable via ENV. 2018-09-04 13:21:41 +08:00