[redirects-web/proxy] nmcheck.g.o: Disable logging and set Cache-Control to no-cache



commit 90b5aa2fcb44d6c23d37c7be2842f5281da528a8
Author: Bartłomiej Piotrowski <bpiotrowski gnome org>
Date:   Sun Feb 6 13:55:14 2022 +0100

    nmcheck.g.o: Disable logging and set Cache-Control to no-cache

 conf.d/nmcheck.gnome.org.conf | 2 ++
 1 file changed, 2 insertions(+)
---
diff --git a/conf.d/nmcheck.gnome.org.conf b/conf.d/nmcheck.gnome.org.conf
index 082dc8f..e152c19 100644
--- a/conf.d/nmcheck.gnome.org.conf
+++ b/conf.d/nmcheck.gnome.org.conf
@@ -4,6 +4,8 @@ server {
     server_name nmcheck.gnome.org;
 
     location = /check_network_status.txt  {
+       expires -1;
+       access_log off;
        add_header Content-Type text/plain;
        return 200 "NetworkManager is online\n";
     }


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]