You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
54 lines
1.2 KiB
54 lines
1.2 KiB
|
|
#user nobody;
|
|
worker_processes 1;
|
|
|
|
#error_log logs/error.log;
|
|
#error_log logs/error.log notice;
|
|
#error_log logs/error.log info;
|
|
|
|
#pid logs/nginx.pid;
|
|
|
|
|
|
events {
|
|
worker_connections 1024;
|
|
}
|
|
|
|
daemon off;
|
|
|
|
http {
|
|
daemon off;
|
|
include mime.types;
|
|
default_type application/octet-stream;
|
|
sendfile on;
|
|
#tcp_nopush on;
|
|
keepalive_timeout 65;
|
|
gzip on;
|
|
client_body_temp_path ./;
|
|
client_max_body_size 0;
|
|
client_header_timeout 36000s;
|
|
client_body_timeout 36000s;
|
|
fastcgi_connect_timeout 36000s;
|
|
fastcgi_send_timeout 36000s;
|
|
fastcgi_read_timeout 36000s;
|
|
|
|
server {
|
|
listen 8088;
|
|
server_name localhost;
|
|
charset utf-8;
|
|
#charset koi8-r;
|
|
#access_log logs/host.access.log main;
|
|
location / {
|
|
proxy_pass http://127.0.0.1:8089;
|
|
proxy_redirect off;
|
|
proxy_set_header Host $host;
|
|
proxy_set_header X-Real-IP $remote_addr;
|
|
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
|
|
proxy_set_header REMOTE-HOST $remote_addr;
|
|
|
|
}
|
|
error_page 500 502 503 504 /50x.html;
|
|
location = /50x.html {
|
|
root html;
|
|
}
|
|
}
|
|
}
|
|
|