mirror of
https://github.com/esphome/esphome.git
synced 2024-11-07 09:31:10 +01:00
31 lines
659 B
Nginx Configuration File
31 lines
659 B
Nginx Configuration File
daemon off;
|
|
user root;
|
|
pid /var/run/nginx.pid;
|
|
worker_processes 1;
|
|
error_log /proc/1/fd/1 error;
|
|
events {
|
|
worker_connections 1024;
|
|
}
|
|
|
|
http {
|
|
include /etc/nginx/includes/mime.types;
|
|
|
|
access_log off;
|
|
default_type application/octet-stream;
|
|
gzip on;
|
|
keepalive_timeout 65;
|
|
sendfile on;
|
|
server_tokens off;
|
|
|
|
tcp_nodelay on;
|
|
tcp_nopush on;
|
|
|
|
map $http_upgrade $connection_upgrade {
|
|
default upgrade;
|
|
'' close;
|
|
}
|
|
|
|
include /etc/nginx/includes/upstream.conf;
|
|
include /etc/nginx/servers/*.conf;
|
|
}
|