技术池(jishuchi.com) 本次搜索耗时 2.606 秒,为您找到 176 个相关结果.
  • nginx 部署

    nginx 部署 nginx 部署 Go 是一个独立的 HTTP 服务器,但是我们有些时候为了 nginx 可以帮我做很多工作,例如访问日志,cc 攻击,静态服务等,nginx 已经做的很成熟了,Go 只要专注于业务逻辑和功能就好,所以通过 nginx 配置代理就可以实现多应用同时部署,如下就是典型的两个应用共享 80 端口,通过不同的域名访问,反向...
  • 4.6. HttpGeoIP

    HttpGeoIP 指令 geoip_country geoip_city References HttpGeoIP This module creates ngx_http_geoip_module variables based on the IP-address of the client matched against the Max...
  • apache 部署

    Apache 配置 Apache 配置 apache 和 nginx 的实现原理一样,都是做一个反向代理,把请求向后端传递,配置如下所示: NameVirtualHost *: 80 < VirtualHost *: 80 > ServerAdmin webmaster@dummy - host . example . ...
  • 安装

    安装 安装 6. 安装 6.1. nginx在windows上的安装 6.2. nginx在freebsd上的安装 6.3. nginx在ubuntu上的安装 6.4. nginx在fedora上的安装 6.5. nginx php-fpm安装配置
  • 4.7. HttpRealIp

    HttpRealIp 鎸囦护 set_real_ip_from real_ip_header References HttpRealIp This module lets to change the client's IP address to value from request header (e. g. X-Real-IP or X-...
  • 4.2. EmbeddedPerl

    EmbeddedPerl Building Module at Compile-time Known Problems 指令 perl perl_modules perl_require perl_set Calling Perl from SSI References EmbeddedPerl This module makes ...
  • 3.8. HttpEmptyGif模块

    HttpEmptyGif模块 指令 empty_gif > 参见 HttpEmptyGif模块 本模块在内存中常驻了一个 1x1 的透明 GIF 图像,可以被非常快速的调用。 示例: location = / _ . gif { : empty_gif ; } 指令 [#empty_gif empty...
  • 4.9. StubStatus模块

    StubStatus模块 指令 stub_status Examples StubStatus模块 这个模块能够获取Nginx自上次启动以来的工作状态 此模块非核心模块,需要在编译的时候手动添加编译参数 --with-http_stub_status_module 配置说明 location / nginx_status { ...
  • Virtualbox 类型的同步目录

    2333 2020-06-28 《vagrant 使用手册》
    Virtualbox 类型的同步目录 Virtualbox 类型的同步目录 虚拟机软件你用的是 Virtualbox,在虚拟机上安装了 virtualbox guest addition 以后,你可以配置虚拟机使用 Virtualbox 类型的共享目录。这种类型的共享目录存在性能问题,如果网站应用只有少量文件还可以,如果文件数量太多,在这种类型的共享...
  • 附录A 编码风格 (100%)

    附录A 编码风格 (100%) Nginx代码风格图示 (100%) 附录A 编码风格 (100%) Nginx代码风格图示 (100%) 一、基本原则 K&R编码风格(偏BSD子类)。 每行不能超过80列。 不用TAB对齐,用空格。 默认对齐单元是4个空格。 除宏定义外,字母均为小写,单词间用下划线_间隔。 使用C方式的注释,不...