CI / test (pull_request) Successful in 42s
Every push to main builds the page into an nginx image and pushes it to harbor.kenschiano.net/home/threshing-atlas; Argo CD Image Updater rolls the deployment (kubefiles web/threshing-atlas) at https://threshingatlas.kenschiano.net. forge.yaml now names that address. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
21 lines
547 B
Nginx Configuration File
21 lines
547 B
Nginx Configuration File
# The Atlas is plain static files. The data changes daily, so browsers revalidate rather than cache blindly.
|
|
server {
|
|
listen 8080;
|
|
root /usr/share/nginx/html;
|
|
index index.html;
|
|
charset utf-8;
|
|
|
|
types {
|
|
text/plain yaml py csv;
|
|
}
|
|
include /etc/nginx/mime.types;
|
|
|
|
gzip on;
|
|
gzip_types text/plain text/css application/javascript application/json text/csv;
|
|
|
|
add_header Cache-Control "no-cache";
|
|
|
|
location = /healthz { access_log off; return 200 "ok\n"; }
|
|
location / { try_files $uri $uri/ =404; }
|
|
}
|