Files
sysadmingroup-website/Dockerfile
Dmitry Gusev 98cf294a0c feat: initial dockerized 301 redirect to sag24.ru
nginx:alpine container, listens 8080, returns 301 -> https://sag24.ru$request_uri.
Mapped to host port 4083 on web.hhivp.com via docker-compose.
2026-05-07 01:35:20 +03:00

10 lines
242 B
Docker

# syntax=docker/dockerfile:1.7
FROM nginx:1.27-alpine
COPY nginx.conf /etc/nginx/nginx.conf
EXPOSE 8080
HEALTHCHECK --interval=30s --timeout=5s --retries=3 \
CMD wget -qO- http://127.0.0.1:8080/ -I 2>&1 | grep -q "301 Moved" || exit 1