From b20f31182bae222e15c09b2a5d299b44043bfdb8 Mon Sep 17 00:00:00 2001 From: Harald Eilertsen Date: Sat, 15 Jun 2024 13:55:53 +0200 Subject: Add /docs and /coverage to the web server config. This allows direct access to the generated api docs and the coverage reports generated by respectively doxygen and phpunit. --- .ddev/nginx/extra.conf | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 .ddev/nginx/extra.conf diff --git a/.ddev/nginx/extra.conf b/.ddev/nginx/extra.conf new file mode 100644 index 0000000..a1a3339 --- /dev/null +++ b/.ddev/nginx/extra.conf @@ -0,0 +1,11 @@ +# Direct /doc to generated api docs +location ^~ /doc { + alias /var/www/html/core/doc/html; + index index.html; +} + +# Direct /coverage to code coverage report +location ^~ /coverage { + alias /var/www/html/core/tests/results/coverage; + index index.html; +} -- cgit v1.2.3