Files
dancefinder-app/nginx-conf/default.conf
T
argoyle 2abfd08018
dancefinder-app / build (push) Successful in 1m4s
dancefinder-app / deploy-prod-frostmoln (push) Successful in 1m18s
feat: deploy to Frostmoln production (#3100)
Part of the dancefinder.unbound.se cutover to Frostmoln Production (infra: unboundsoftware/infra#1896, already applied).

- Replaces the AWS `deploy-prod` job (failing since CI left AWS) with `deploy-prod-frostmoln` (`deploy prod-frostmoln -n dancefinder`), as schemas did.
- Restricted securityContext (runAsNonRoot, drop ALL, seccomp RuntimeDefault) and `imagePullSecrets: oci-registry` (Platform registry).
- Switches to `nginxinc/nginx-unprivileged` (same pin as schemas-app), listening on 8080 as uid 101; the Service keeps port 80. Traefik Ingress for `/`, PDB, HPA moved to `-prod-frostmoln`; ALB Ingress dropped; Service ClusterIP.

Merging deploys to Frostmoln only; DNS still points at AWS until the cutover.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

https://claude.ai/code/session_01H6eVuR4Yt3m7TbDTDwyZJi
Reviewed-on: https://gitea.unbound.se/dancefinder/dancefinder-app/pulls/3100
2026-10-16 08:32:02 +00:00

30 lines
606 B
Plaintext

server {
listen 8080;
server_name localhost;
sendfile off;
charset utf-8;
access_log /dev/stdout combined;
location / {
root /usr/share/nginx/html;
index index.html index.htm;
expires 0;
}
location /health {
add_header Content-Type text/plain;
access_log off;
return 200 'Ok';
}
error_log /dev/stdout info;
# redirect server error pages to the static page /50x.html
#
error_page 500 502 503 504 /50x.html;
location = /50x.html {
root /usr/share/nginx/html;
}
}