39 lines
726 B
Nginx Configuration File
39 lines
726 B
Nginx Configuration File
|
worker_processes 1;
|
||
|
error_log stderr;
|
||
|
daemon off;
|
||
|
pid nginx.pid;
|
||
|
|
||
|
events {
|
||
|
worker_connections 1024;
|
||
|
}
|
||
|
|
||
|
http {
|
||
|
include /etc/nginx/mime.types;
|
||
|
default_type application/octet-stream;
|
||
|
|
||
|
sendfile on;
|
||
|
keepalive_timeout 65;
|
||
|
|
||
|
access_log /dev/null;
|
||
|
|
||
|
server {
|
||
|
listen 8080;
|
||
|
server_name localhost;
|
||
|
|
||
|
#charset koi8-r;
|
||
|
|
||
|
#access_log logs/host.access.log main;
|
||
|
|
||
|
location / {
|
||
|
root /home/user/www/;
|
||
|
index de/index.html;
|
||
|
}
|
||
|
#error_page 404 /404.html;
|
||
|
|
||
|
error_page 500 502 503 504 /50x.html;
|
||
|
location = /50x.html {
|
||
|
root /usr/share/nginx/html;
|
||
|
}
|
||
|
}
|
||
|
}
|