You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
35 lines
551 B
Nginx Configuration File
35 lines
551 B
Nginx Configuration File
1 year ago
|
|
||
|
user nginx;
|
||
|
worker_processes auto;
|
||
|
|
||
|
error_log /var/log/nginx/error.log notice;
|
||
|
pid /var/run/nginx.pid;
|
||
|
|
||
|
|
||
|
events {
|
||
|
worker_connections 1024;
|
||
|
}
|
||
|
|
||
|
|
||
|
http {
|
||
|
include /etc/nginx/mime.types;
|
||
|
default_type application/octet-stream;
|
||
|
|
||
|
access_log off;
|
||
|
|
||
|
sendfile on;
|
||
|
#tcp_nopush on;
|
||
|
|
||
|
keepalive_timeout 65;
|
||
|
|
||
|
gzip on;
|
||
|
server {
|
||
|
listen 80;
|
||
|
location / {
|
||
|
proxy_intercept_errors on;
|
||
|
error_page 400 500 404 /;
|
||
|
}
|
||
|
}
|
||
|
include /etc/nginx/conf.d/*.conf;
|
||
|
}
|