diff options
author | Harald Eilertsen <haraldei@anduin.net> | 2024-06-15 13:55:53 +0200 |
---|---|---|
committer | Harald Eilertsen <haraldei@anduin.net> | 2024-06-15 13:55:53 +0200 |
commit | b20f31182bae222e15c09b2a5d299b44043bfdb8 (patch) | |
tree | 057192b46cea492059daa9d91e256cbcd23c457e | |
parent | f9efecf8cc07feef3a20e8692576ab8d0c526c09 (diff) | |
download | hubzilla-ddev-b20f31182bae222e15c09b2a5d299b44043bfdb8.tar.gz hubzilla-ddev-b20f31182bae222e15c09b2a5d299b44043bfdb8.tar.bz2 hubzilla-ddev-b20f31182bae222e15c09b2a5d299b44043bfdb8.zip |
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.
-rw-r--r-- | .ddev/nginx/extra.conf | 11 |
1 files changed, 11 insertions, 0 deletions
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; +} |