• 【整理】自动的 Nginx 反向代理配置

    日期:

    近期由于 HTTPS 漏洞的问题,公司领导要求把 HTTPS 相关使用完善起来,鉴于之前对 nginx 的理解非常的肤浅,所以本着边学边做的原则展开对相关文章的研究。 本文内容参考自《自动的 Nginx 反向代理配置》。 个人觉得:名字翻译成《自动化 Nginx 反向代理配置...

  • 如何在MacOS X上配置Nginx

    日期:

    前提条件: How to Configure and Install Nginx on Mac OS X 安装Nginx: 前提条件: 安装Xcode中的命令行工具 参考原文: How to Configure and Install Nginx on Mac OS X 安装Nginx: 1. 下载最新版本的Nginx nginx 1.4.7 2. 解压 tar xvzf nginx-1.4.7....

  • ubuntu下nginx启动配置文件

    日期:

    在 https://github.com/JasonGiedymin/nginx-init-ubuntu 获得的nginx配置文件 其中一些位置需要根据实际配置更改 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47...

  • Nginx Command

    日期:

    nginx的启动命令是: /usr/local/nginx/sbin/nginx -c /usr/local/nginx/conf/nginx.conf -c制定配置文件的路径,不加自动加载默认路径的配置文件。 1 2 3 4 5 6 7 8 9 10 11 12 13 14 [root@localhostnginx]#/usr/local/nginx/sbin/nginx-h nginxversion:ng...

  • Nginx的模块知识点

    日期:

    给每个模块排序是依靠: 1 2 3 4 5 ngx_max_module = 0; for (i = 0; ngx_modules[i]; i++) { ngx_modules[i]-index = ngx_max_module++; } nginx中最难的也是最重要的函数就是 1 ngx_init_cycle 里面做了大量的初始化操作,之前每次看nginx源码都卡在这个函...

  • nginx -t 测试错误

    日期:

    #user nobody; worker_processes 1; #error_log logs/error.log; #error_log logs/error.log notice; #error_log logs/error.log info; #pid logs/nginx.pid; events { worker_connections 1024; } http { include mime.types; default_type application/oct...

  • 基于Docker、阿里云、JFinal的java saas平台搭建

    日期:

    目录[-] 愿景 第一版、单机 第二版、多台服务器(学了下老外作图,我这是作死啊) 接下来 使用到的技术和服务 好文收藏 愿景 用户不用再自己购买服务器已经搭建应用环境,在我们平台用户一键自助完成应用的创建、启动等过程! 第一版、单机 由于第一版为功能测...

  • 一条命令安装服务器java

    日期:

    服务器多了之后安装java挺烦躁的,下面部分是从martinseeler / oracle-server-jreDockerfilecopy的一部分 命令 wget --no-check-certificate --no-cookies --header Cookie: oraclelicense=accept-securebackup-cookie http://download.oracle.com/otn-pub/j...

  • tomcat容器提供的过滤器Filters【译】

    日期:

    目录[-] 介绍 AddDefaultCharsetFilter 说明 Filter Class Name 初始化参数 CorsFilter 介绍 Filter Class Name 初始化参数 CORSFilter 和 HttpServletRequest attributes CsrfPreventionFilter 说明 Filter Class Name 初始化参数 ExpiresFilter FailedRequ...

  • nginx禁止域名被恶意cname

    日期:

    前提 目前我们在做一个机遇docker、JFinal的SaaS平台,暂时测试阶段! 今日,系统在做域名绑定的时候发现:未绑定过的域名cname到我们得三级域名上,会绑定到某个系统上! 基于名称的虚拟服务器 nginx请求匹配的时候是根据request的投信息host来判定哪个serv...