change_code/help/nginx/nginx.conf

36 lines
765 B
Nginx Configuration File

worker_processes 1;
pid /home/taoc/nginx/logs/nginx.pid;
events {
worker_connections 1024;
}
http {
include /home/taoc/nginx/conf/mime.types;
default_type application/octet-stream;
access_log /home/taoc/nginx/logs/help_access.log;
error_log /home/taoc/nginx/logs/help_error.log;
sendfile on;
keepalive_timeout 65;
server {
listen 6045;
server_name _;
root /home/taoc/uft30help/html/;
index index.html index.htm;
location /uft3changecode/ {
index index.html index.htm;
try_files $uri $uri/ /uft3changecode/index.html;
}
error_page 500 502 503 504 /50x.html;
location = /50x.html {
root html;
}
}
}