doc: Fix syntax of Varnish example.
* doc/guix.texi (Web Services): Escape nested string in '%gnu-mirror' variable definition. Adjust indentation.
This commit is contained in:
parent
205a0fe094
commit
4a506da83a
|
@ -19819,13 +19819,12 @@ can do something along these lines:
|
||||||
|
|
||||||
@lisp
|
@lisp
|
||||||
(define %gnu-mirror
|
(define %gnu-mirror
|
||||||
(plain-file
|
(plain-file "gnu.vcl"
|
||||||
"gnu.vcl"
|
"vcl 4.1;
|
||||||
"vcl 4.1;
|
backend gnu @{ .host = \"www.gnu.org\"; @}"))
|
||||||
backend gnu @{ .host = "www.gnu.org"; @}"))
|
|
||||||
|
|
||||||
(operating-system
|
(operating-system
|
||||||
...
|
;; @dots{}
|
||||||
(services (cons (service varnish-service-type
|
(services (cons (service varnish-service-type
|
||||||
(varnish-configuration
|
(varnish-configuration
|
||||||
(listen '(":80"))
|
(listen '(":80"))
|
||||||
|
|
Loading…
Reference in New Issue