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.
This commit is contained in:
Dmitry Gusev
2026-05-07 01:35:20 +03:00
commit 98cf294a0c
5 changed files with 72 additions and 0 deletions

9
Dockerfile Normal file
View File

@@ -0,0 +1,9 @@
# 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