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. Jul 21, 2024
    • Jan Alexander Steffens (heftig)'s avatar
      nginx: Set a resolver · 73f6d643
      Jan Alexander Steffens (heftig) authored
      This is required of OCSP stapling to work, or you get warnings when
      NGINX starts up:
      
          no resolver defined to resolve e6.o.lencr.org while requesting certificate status
      
      Let NGINX use the local systemd-resolved as its resolver.
      
      Fixes: #607
      Verified
      73f6d643
  6. Jul 20, 2024
  7. Apr 18, 2022
  8. Oct 03, 2021
  9. May 03, 2021
  10. Apr 08, 2021
  11. Oct 22, 2020
  12. 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
  13. Oct 13, 2019
  14. Sep 05, 2019
  15. Sep 01, 2019
  16. May 14, 2019
  17. Feb 16, 2019
  18. Nov 18, 2018
  19. May 30, 2018
  20. Apr 23, 2018
  21. Feb 19, 2018
  22. Jul 05, 2017
  23. Jan 29, 2017
  24. Jan 26, 2017
  25. Jan 09, 2017
  26. 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
  27. Sep 21, 2016
  28. Sep 18, 2016
  29. Jul 27, 2016
  30. Jul 18, 2016
  31. Jun 20, 2016
  32. Jun 15, 2016
Loading