3c2c33f83b
Pack HTML report after publish; link archive in run index and CI log. Add fetch-ci-report.sh helper for agent curl/extract. [skip ci]
23 lines
497 B
Nginx Configuration File
23 lines
497 B
Nginx Configuration File
server {
|
|
listen 80;
|
|
server_name _;
|
|
root /usr/share/nginx/html;
|
|
autoindex on;
|
|
charset utf-8;
|
|
|
|
# Archives for curl/agent offline analysis (before Allure SPA fallback)
|
|
location ~* \.(tar\.gz|tgz|zip)$ {
|
|
default_type application/gzip;
|
|
add_header Content-Disposition 'attachment';
|
|
try_files $uri =404;
|
|
}
|
|
|
|
location / {
|
|
try_files $uri $uri/ =404;
|
|
}
|
|
|
|
location ~* /allure/ {
|
|
try_files $uri $uri/ /index.html =404;
|
|
}
|
|
}
|