diff options
Diffstat (limited to 'gnu/tests/web.scm')
| -rw-r--r-- | gnu/tests/web.scm | 15 |
1 files changed, 14 insertions, 1 deletions
diff --git a/gnu/tests/web.scm b/gnu/tests/web.scm index f29fb6b3748..c3253652887 100644 --- a/gnu/tests/web.scm +++ b/gnu/tests/web.scm | |||
| @@ -203,8 +203,21 @@ the tests." | |||
| 203 | (define %nginx-servers | 203 | (define %nginx-servers |
| 204 | ;; Server blocks. | 204 | ;; Server blocks. |
| 205 | (list (nginx-server-configuration | 205 | (list (nginx-server-configuration |
| 206 | (listen '("8080"))))) | 206 | (listen '("8080")) |
| 207 | (locations | ||
| 208 | ;; Dummy location to test the default configuration path. | ||
| 209 | (list (nginx-location-configuration | ||
| 210 | (uri "/") | ||
| 211 | (body (list "include fastcgi_params;")))))))) | ||
| 207 | 212 | ||
| 213 | ;;; For a manual test/inspection: | ||
| 214 | #;( | ||
| 215 | |||
| 216 | $(./pre-inst-env guix system vm \ | ||
| 217 | -e '(@@ (gnu tests web) %nginx-os)' --no-graphic) \ | ||
| 218 | -nic user,model=virtio-net-pci,hostfwd=tcp::8080-:80 -m 1024 | ||
| 219 | |||
| 220 | ) | ||
| 208 | (define %nginx-os | 221 | (define %nginx-os |
| 209 | ;; Operating system under test. | 222 | ;; Operating system under test. |
| 210 | (simple-operating-system | 223 | (simple-operating-system |
