mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2025-01-23 11:09:41 -05:00
services: monitoring: Remove unused procedure.
This is a follow-up to commit 326e08bf0f
.
* gnu/services/monitoring.scm (zabbix-front-end-nginx-configuration): Remove
variable.
This commit is contained in:
parent
43bc85f444
commit
eb2e0e3225
1 changed files with 0 additions and 23 deletions
|
@ -552,29 +552,6 @@ (define (generate-zabbix-agent-documentation)
|
|||
,zabbix-agent-configuration-fields))
|
||||
'zabbix-agent-configuration))
|
||||
|
||||
(define zabbix-front-end-nginx-configuration
|
||||
(match-lambda
|
||||
(($ <zabbix-front-end-configuration> _ package fastcgi-params)
|
||||
(list
|
||||
(nginx-server-configuration
|
||||
(root #~(string-append #$package:front-end "/share/zabbix/php"))
|
||||
(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
|
||||
(format #f "fastcgi_param PHP_VALUE \"~a\";"
|
||||
(string-join
|
||||
(map (match-lambda
|
||||
((key . value)
|
||||
(format #f "~a = ~a~%"
|
||||
key value)))
|
||||
fastcgi-params))))))))))
|
||||
(listen '("80")))))))
|
||||
|
||||
(define %zabbix-front-end-nginx-configuration
|
||||
(nginx-server-configuration
|
||||
(root #~(string-append #$zabbix-server:front-end "/share/zabbix/php"))
|
||||
|
|
Loading…
Reference in a new issue