Skip to content
Snippets Groups Projects
  1. Dec 22, 2024
  2. Aug 18, 2024
  3. Aug 17, 2024
  4. Jul 31, 2024
    • Kristian Klausen's avatar
      nginx: Add option for installing extra modules · 018e73b9
      Kristian Klausen authored
      This will be used for installing the geoip2 module, so we can make it
      more difficult for Chinese bots to crawl the wiki.
      
      The name of the shared object file can be overridden in case it is not
      named ngx_http_{{ module.name }}_module.so, e.g. srcache where the
      shared object is named ngx_http_srcache_filter_module.so.
      Verified
      018e73b9
  5. Apr 18, 2022
  6. May 03, 2021
  7. Apr 08, 2021
  8. Oct 22, 2020
  9. Sep 05, 2020
    • Jakub Klinkovský's avatar
      nginx: move the fastcgi cache configuration to the archwiki role · fc23daf5
      Jakub Klinkovský authored
      This is much cleaner because the nginx role does not have to set the
      fastcgi_cache variable to "false" by default, which was overridden by
      host_vars/apollo.archlinux.org to "wiki", but the value was still
      hardcoded in the config.
      
      At first, I was wondering that the cache "zone" name should be
      generalized to improve the configuration (from the original per-host to
      per-service), but that would be an overkill since the fastcgi cache is
      used only for the wiki...
      Unverified
      fc23daf5
  10. Oct 13, 2019
  11. Sep 05, 2019
  12. Sep 01, 2019
  13. Feb 16, 2019
  14. Nov 18, 2018
  15. May 30, 2018
  16. Apr 23, 2018
  17. Feb 19, 2018
  18. Jul 05, 2017
  19. Dec 08, 2016
    • Jan Alexander Steffens (heftig)'s avatar
      nginx: Log to syslog by default · e3a695d3
      Jan Alexander Steffens (heftig) authored
      Suppress nginx's stdout/stderr because it's not possible to stop nginx
      from logging to stderr once it has been enabled, and it's enabled by
      default (via compilation option).
      
      Move the error_log to the root context as it applies to more than http.
      
      The logrotate setup installed by nginx doesn't actually rotate the text
      log files we've been using.
      
      planet and sources roles still install configs that use text log files.
      Verified
      e3a695d3
  20. Jul 27, 2016
  21. Jun 15, 2016
Loading