summary refs log tree commit diff
path: root/gnu/services
diff options
context:
space:
mode:
authorChristopher Baines <mail@cbaines.net>2017-08-02 10:06:27 +0100
committerChristopher Baines <mail@cbaines.net>2017-08-22 17:49:05 +0100
commit39fc3004be008adfbdd29e38703834bfbd65fda8 (patch)
tree316c7361035a048306f66d35748af20d24aef4c8 /gnu/services
parentad4cc435e86c51b7777f09c29f9f94d0971e26fc (diff)
downloadguix-39fc3004be008adfbdd29e38703834bfbd65fda8.tar.gz
web: Remove the nginx-service procedure.
Now that the service-type has a default value, and configuration record is
accessible.

* gnu/services/web.scm (nginx-service): Remove procedure.
* doc/guix.texi (Web Services): Update and improve NGinx documentation.
Diffstat (limited to 'gnu/services')
-rw-r--r--gnu/services/web.scm19
1 files changed, 0 insertions, 19 deletions
diff --git a/gnu/services/web.scm b/gnu/services/web.scm
index aefae5aedb..18278502e4 100644
--- a/gnu/services/web.scm
+++ b/gnu/services/web.scm
@@ -328,25 +328,6 @@ of index files."
                 (default-value
                   (nginx-configuration))))
 
-(define* (nginx-service #:key (nginx nginx)
-                        (log-directory "/var/log/nginx")
-                        (run-directory "/var/run/nginx")
-                        (server-list '())
-                        (upstream-list '())
-                        (config-file #f))
-  "Return a service that runs NGINX, the nginx web server.
-
-The nginx daemon loads its runtime configuration from CONFIG-FILE, stores log
-files in LOG-DIRECTORY, and stores temporary runtime files in RUN-DIRECTORY."
-  (service nginx-service-type
-           (nginx-configuration
-            (nginx nginx)
-            (log-directory log-directory)
-            (run-directory run-directory)
-            (server-blocks server-list)
-            (upstream-blocks upstream-list)
-            (file config-file))))
-
 (define-record-type* <fcgiwrap-configuration> fcgiwrap-configuration
   make-fcgiwrap-configuration
   fcgiwrap-configuration?