随笔分类 - Nginx
Nginx
摘要:server { listen 22222; server_name localhost; location / { if ($request_method = 'OPTIONS') { add_header Access-Control-Allow-Origin 'http://localhost
阅读全文
摘要:docker network create -d bridge frp-net # ip库 wget https://download.db-ip.com/free/dbip-country-lite-2022-02.mmdb.gz gunzip dbip-country-lite-2022-02.
阅读全文
摘要:概念 1. 什么是 Container ? "https://www.docker.com/resources/what container" "https://www.docker.com/why docker" 2. 什么是 Let’s Encrypt ? Let’s Encrypt is a
阅读全文
摘要:本文章默认读者了解Openssl,CA,网站证书相关知识,直接实战!配置完成后,浏览器会显示“安全的HTTPS”连接。不会像其他文章那样,是红色警告的证书提示。 准备环境 笔者使用的是Ubuntu16 ,其实什么系统都无所谓,请不要使用旧版Openssl就好,因为里面的漏洞实在太致命。 自建CA 1
阅读全文