mirror of
https://github.com/lucky-sideburn/kubeinvaders.git
synced 2026-05-20 23:53:07 +00:00
32 lines
786 B
Nginx Configuration File
32 lines
786 B
Nginx Configuration File
worker_processes 2;
|
|
error_log /dev/stdout info;
|
|
pid /var/run/nginx.pid;
|
|
env REDIS_HOST;
|
|
env TOKEN;
|
|
env K8S_TOKEN;
|
|
env NAMESPACE;
|
|
env KUBERNETES_SERVICE_HOST;
|
|
env KUBERNETES_SERVICE_PORT_HTTPS;
|
|
env PLATFORM_ENGINEERING_DEMO_MODE;
|
|
env APPLICATION_URL;
|
|
env DISABLE_TLS;
|
|
|
|
events {
|
|
worker_connections 1024;
|
|
}
|
|
|
|
http {
|
|
include /etc/nginx/mime.types;
|
|
default_type application/octet-stream;
|
|
|
|
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 /dev/stdout main;
|
|
sendfile on;
|
|
keepalive_timeout 30;
|
|
client_body_buffer_size 1000K;
|
|
include /etc/nginx/conf.d/*.conf;
|
|
}
|