作家
登录

使用Nginx搭建高可用,高并发的WCF集群

作者: 来源: 2017-11-13 13:07:08 阅读 我要评论

  •         #} 
  •  
  •         # pass the PHP scripts to FastCGI server listening on 127.0.0.1:9000 
  •         # 
  •         #location ~ \.php$ { 
  •         #    root           html; 
  •         #    fastcgi_pass   127.0.0.1:9000; 
  •         #    fastcgi_index  index.php; 
  •         #    fastcgi_param  SCRIPT_FILENAME  /scripts$fastcgi_script_name; 
  •         #    include        fastcgi_params; 
  •         #} 
  •  
  •         # deny access to .htaccess files, if Apache's document root 
  •         # concurs with nginx's one 
  •         # 
  •         #location ~ /\.ht { 
  •         #    deny  all
  •         #} 
  •     } 
  •  
  •  
  •     # another virtual host using mix of IP-, name-, and port-based configuration 
  •     # 
  •     #server { 
  •     #    listen       8000; 
  •     #    listen       somename:8080; 
  •     #    server_name  somename  alias  another.alias; 
  •  
  •     #    location / { 
  •     #        root   html; 
  •     #        index  index.html index.htm; 
  •     #    } 
  •     #} 
  •  
  •     # HTTPS server 
  •     # 
  •     #server { 
  •     #    listen       443 ssl; 
  •     #    server_name  localhost; 
  •  
  •     #    ssl_certificate      cert.pem; 
  •     #    ssl_certificate_key  cert.

      推荐阅读

      如何避繁就简为数据中心减负

    Tech Neo技巧沙龙 | 11月25号,九州云/ZStack与您一路商量云时代收集界线治理实践 跟着人们对信息数据应用的处>>>详细阅读


    本文标题:使用Nginx搭建高可用,高并发的WCF集群

    地址:http://www.17bianji.com/lsqh/38778.html

  • 关键词: 探索发现

    乐购科技部分新闻及文章转载自互联网,供读者交流和学习,若有涉及作者版权等问题请及时与我们联系,以便更正、删除或按规定办理。感谢所有提供资讯的网站,欢迎各类媒体与乐购科技进行文章共享合作。

    网友点评
    自媒体专栏

    评论

    热度

    精彩导读
    栏目ID=71的表不存在(操作类型=0)