guix-commits
[Top][All Lists]
Advanced

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

04/05: berlin: Use new Zabbix nginx server configuration.


From: Ricardo Wurmus
Subject: 04/05: berlin: Use new Zabbix nginx server configuration.
Date: Sun, 15 Mar 2020 16:27:25 -0400 (EDT)

rekado pushed a commit to branch master
in repository maintenance.

commit 3053463ab7f26eab3de930c71f4a3d039421f498
Author: Ricardo Wurmus <address@hidden>
AuthorDate: Sun Mar 15 21:24:58 2020 +0100

    berlin: Use new Zabbix nginx server configuration.
    
    * hydra/berlin.scm <services>: Use %zabbix-nginx-server in
    zabbix-font-end-configuration.
---
 hydra/berlin.scm | 15 +--------------
 1 file changed, 1 insertion(+), 14 deletions(-)

diff --git a/hydra/berlin.scm b/hydra/berlin.scm
index 573572b..cb514df 100644
--- a/hydra/berlin.scm
+++ b/hydra/berlin.scm
@@ -202,20 +202,7 @@ Happy hacking!\n"))
                        (include-files '("/root/zabbix-pass"))))
              (service zabbix-front-end-service-type
                       (zabbix-front-end-configuration
-                       (nginx (list
-                               (nginx-server-configuration
-                                (root #~(string-append 
#$zabbix-server:front-end "/share/zabbix/php"))
-                                (listen '("127.0.0.1:7878"))
-                                (index '("index.php"))
-                                (locations
-                                 (let ((php-location (nginx-php-location)))
-                                   (list (nginx-location-configuration
-                                          (inherit php-location)
-                                          (body (append 
(nginx-location-configuration-body php-location)
-                                                        (list "
-fastcgi_param PHP_VALUE \"post_max_size = 16M
-                          max_execution_time = 300\";
-"))))))))))
+                       (nginx (list %zabbix-nginx-server))
                        (db-secret-file "/root/zabbix-front-end-secrets")))
 
              ;; For the Zabbix database.  It was created by manually



reply via email to

[Prev in Thread] Current Thread [Next in Thread]