为懒人提供无限可能,生命不息,code不止
作者: whooyun发表于: 2017-12-15 10:22
2、修改nginx的conf文件nginx.conf
server { listen 80; server_name hitao8.cc hitao8.net; location / { # index index.html index.htm ; proxy_redirect off; proxy_set_header X-Real-IP $remote_addr; proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; client_max_body_size 10m; client_body_buffer_size 128k; proxy_buffers 32 4k; proxy_connect_timeout 3; proxy_send_timeout 30; proxy_read_timeout 30; proxy_pass http://localhost:8180; } error_page 500 502 503 504 /50x.html; location = /50x.html { root html; } }