nginx:alpine container, listens 8080, returns 301 -> https://sag24.ru$request_uri. Mapped to host port 4083 on web.hhivp.com via docker-compose.
22 lines
349 B
Nginx Configuration File
22 lines
349 B
Nginx Configuration File
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;
|
|
}
|
|
}
|
|
}
|