# IPCR Forge landing page. Static, plus IPCR's published.json as /images.json and the CI broker's # report pages (and the adapter's run logs) under /ci/. # No nginx variables on purpose: this file is also safe to render as a Maison template. server { listen 8080; server_tokens off; root /usr/share/nginx/html; index index.html; location = /images.json { alias /srv/ipcr-state/published.json; default_type application/json; add_header Cache-Control "no-store"; } # cib rewrites these pages as runs progress; logs are plain text. location /ci/ { alias /srv/ci/; index index.html; types { text/html html; text/css css; application/json json; text/plain log; } charset utf-8; add_header Cache-Control "no-cache"; } # Only the page and its icon; nothing else under the state directory is reachable. location / { add_header Cache-Control "no-cache"; } }