Category Archives: nginx

[转]Nginx 的 Location 从零开始配置

基础知识 Nginx location 配置语法 1. location uri { ... } 2. location @name { ... } location 配置可以有两种配置方法 1.前缀 + uri(字符串/正则表达式) 2.@ + name 前缀含义 = ... Read More | Share it now!

NGINX 配置 SSL 双向认证

https://blog.csdn.net/yuanlin65/article/details/53187710 对于 NGINX 的 HTTPS... Read More | Share it now!

nginx配置HTTPS 单向验证

使用ssl模块配置同时支持http和https并存 一,生成证书 # 1、首先,进入你想创建证书和私钥的目录,例如: cd /etc/nginx/ # 2、创建服务器私钥,命令会让你输入一个口令: openssl genrsa -des3... Read More | Share it now!

亚马逊云介绍(3):使用AWS EC2搭建WEB服务器(LNMP)

亚马逊云介绍(3):使用AWS EC2搭建WEB服务器(LNMP) 一、基本环境介绍 AWS... Read More | Share it now!

Access-Control-Allow-Origin 浏览器js跨域问题

XMLHttpRequest cannot load http://xxxx. No ‘Access-Control-Allow-Origin’ header is present on the requested resource. Origin ‘http://yyyy’ is therefore not allowed... Read More | Share it now!