Nginx Expires配置

Nginx expires配置server { listen 80; server_name 120.24.176.245; client_max_body_size 1024m; access_log /home/halo/.halo/log


nginx监听多个端口

nginx监听多个端口问题:nginx监听80端口,转发到本地8000端口,能正常访问再配置nginx监听8001端口,转发到本地8001端口,输入http:ip:8001却被转发到8000端口原因:两个nginx的server配置中,均有proxy_set_header Host $host;浏览