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

21
nginx.conf Normal file
View File

@@ -0,0 +1,21 @@
worker_processes auto;
error_log /dev/stderr warn;
pid /var/run/nginx.pid;
events {
worker_connections 256;
}
http {
server_tokens off;
access_log /dev/stdout combined;
server {
listen 8080 default_server;
server_name _;
location / {
return 301 https://sag24.ru$request_uri;
}
}
}