nginx搭建的cdn服务器的nginx.conf配置文件
2016-12-06 19:19
375 查看
默认的nginx.conf配置文件
worker_processes 1; events { worker_connections 1024; } http { access_log off; client_body_temp_path temp/client_body_temp; fastcgi_temp_path temp/fastcgi_temp; scgi_temp_path temp/scgi_temp; uwsgi_temp_path temp/uwsgi_temp; proxy_temp_path temp/proxy_temp; proxy_set_header Host $http_host; proxy_set_header X-Real-IP $remote_addr; proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; proxy_set_header Accept-Encoding ""; proxy_set_header Connection "keep-alive"; include mime.types; default_type application/octet-stream; sendfile on; keepalive_timeout 10; server { listen 80; location / { proxy_pass https://test:443; } } server { listen 443 ssl; ssl_certificate cert/test.crt; ssl_certificate_key cert/test.key; location / { proxy_pass https://test:443; } } }
相关文章推荐
- nginx搭建的cdn服务器的nginx.conf配置文件
- Nginx服务器配置文件nginx.conf实例详解
- 最简单的配置nginx.conf使之成为静态文件下载服务器
- 详解Nginx服务器中的nginx.conf配置文件
- 搭建nginx服务器及文件的配置
- Nginx服务器nginx.conf的配置文件说明
- nginx+ftp搭建图片服务器修改nginx 配置文件中root路径403错误
- nginx配置1:借助Nginx搭建反向代理服务器与缓存静态文件
- nginx配置1:借助Nginx搭建反向代理服务器与缓存静态文件
- Nginx服务器配置文件nginx.conf实例详解
- nginx.conf 配置文件解释
- resin3服务器resin.conf文件的配置
- 生产环境下的nginx.conf配置文件(多虚拟主机) (转)
- 分享squid缓存服务器配置-之conf配置文件的详细介绍
- Nginx 配置文件nginx.conf的完整配置说明
- Nginx 配置文件nginx.conf的完整配置说明
- resin3服务器resin.conf文件的配置
- Nginx 源码分析-- 模块module 解析执行 nginx.conf 配置文件流程分析 二
- Nginx 配置文件nginx.conf的完整配置说明
- nginx搭建虚拟主机的配置文件方法