mirror of
https://github.com/clearlinux/telemetrics-backend.git
synced 2026-09-05 05:11:56 +00:00
Partially revert commits6a2b1dd1'Redesigned the telemetry backend app' andfa4b233f'Removed the "shared" folder'. These commits removed the collector app from the telemetrics-backend project, but we still supported deploying the collector from old versions of the project. This resulted in a situation where we could not update collector code. Signed-off-by: California Sullivan <california.l.sullivan@intel.com>
31 lines
749 B
Nginx Configuration File
31 lines
749 B
Nginx Configuration File
user nginx;
|
|
worker_processes auto;
|
|
error_log /var/log/nginx/error.log;
|
|
pid /run/nginx.pid;
|
|
include /usr/share/nginx/modules/*.conf;
|
|
|
|
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;
|
|
|
|
sendfile on;
|
|
tcp_nopush on;
|
|
tcp_nodelay on;
|
|
keepalive_timeout 65;
|
|
types_hash_max_size 2048;
|
|
|
|
include /etc/nginx/mime.types;
|
|
default_type application/octet-stream;
|
|
server_tokens off;
|
|
|
|
include /etc/nginx/conf.d/*.conf;
|
|
|
|
}
|