cspj-application/docker/suricata/nginx/nginx.conf

23 lines
601 B
Nginx Configuration File
Raw Normal View History

2025-02-05 04:24:40 +08:00
events {
worker_connections 1024;
}
http {
log_format main '$remote_addr - $remote_user [$time_local] "$request" '
'$status $body_bytes_sent "$http_referer" '
'"$http_user_agent" "$http_x_forwarded_for"';
access_log /var/log/nginx/access.log main;
server {
listen 3332;
location / {
proxy_pass http://host.docker.internal:3333;
proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
}
}
}