mirror of
https://github.com/esphome/esphome.git
synced 2024-12-18 11:34:54 +01:00
30 lines
659 B
Nginx Configuration File
30 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;
|
|
}
|