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:
21
nginx.conf
Normal file
21
nginx.conf
Normal 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;
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user