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
626 B
Nginx Configuration File
35 lines
626 B
Nginx Configuration File
|
|
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 / {
|
|
root /usr/share/nginx/html; # for whatever reason, this needs to be decleared on my vps.
|
|
index index.html index.htm;
|
|
}
|
|
}
|
|
include /etc/nginx/conf.d/*.conf;
|
|
}
|