BAIYEZI

Everything happens for a reason.

  • Home
  • Categories
  • Tags
  • Archives

baiyezi.com
  • Home
  • Categories
  • Tags
  • Archives
  • Music
    • Home
    • Categories
    • Tags
    • Archives
false
true

Nginx 配置文件中如何正确的将变量用于 URL

662

ops

Posted on:Apr 26, 2017

0  

在 Nginx 配置文件中使用变量来存放一个http地址时,如果这个地址是域名而不是IP,会得到错误“no resolver defined to resolve xxx.xxx.xxx.xxx”。

阅读全文

Nginx 正确设置 default_server 避免恶意解析和IP访问

662

ops

Posted on:Sep 16, 2016

0  

Nginx 默认 Server

默认情况下 nginx 的 default_server 指令可以处理没有匹配到 server_name 的请求,如果没有显式定义 default_server,则 nginx 会选取第一个定义的 server 作为 default_server。

阅读全文
Categories
  • code
    (4)
  • ops
    (5)
  • tools
    (3)
Tags
arch code snippet debian firewall git github googledrive iptables ladder linux nginx onedrive regexp ssh systemctl systemd ubuntu ufw


Copyright © 2020 baiyezi.com