Files
pezkuwi-telemetry/frontend/nginx/nginx.conf
T
Chevdor 238d529eae Hardening of the Frontend docker image (#377)
* move the env-config script to a sub folder
* fix doc
* fix ports and ref to the official image
* add hardening to the docker-compose examples
2021-08-26 12:20:01 +02:00

33 lines
743 B
Nginx Configuration File

worker_processes auto;
worker_rlimit_nofile 30000;
error_log /var/log/nginx/error.log warn;
pid /var/run/nginx.pid;
events {
worker_connections 8000;
}
http {
default_type application/octet-stream;
include /etc/nginx/mime.types;
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;
sendfile on;
keepalive_timeout 65;
gzip on;
include /etc/nginx/conf.d/*.conf;
server {
root /app;
index index.html;
listen 8000;
listen [::]:8000;
}
}