• Activity Calendar
    Count the number of articles and author reviews over the last 10 months

    Loading...

    Radar Chart

    Loading...

    Release Chart

    Loading...

    Classification Chart

    Loading...

    Tag Chart

    Loading...

  • New thing
    New thing
    点击查看详情
    January 26, 2021
    来 左边 跟我一起画个龙
    September 19, 2019
    主题升级成功啦……!
    September 19, 2019
  • 文章
  • 时光机
拾玖 晚安,只是换一个世界想念你!
  • Good morning,ever youthful,ever weeping

  • Navigation
  • Home
  • 看过
  • 朋友
  • 归档
  • 狗云
  • 关于
    • About me
    • 留言本
  • Components
  • Categories
    • Windows
      • 4批处理
    • Microsoft Office
      • 1Microsoft word
      • 8Microsoft excel
    • 虚拟机
      • 3VMware ESXi
      • 3Proxmox VE
    • 50资讯
    • 9前端
    • 15PHP
    • Linux
      • Centos
        • 11Nginx
      • 2Debian
    • 杂谈
      • 7情感
      • 0游戏
      • 1段子
      • 3图片
      • 2视频
      • 2音乐
      • 6福利
      • 26工作
    • 12面板
    • 48经验
  • Links
    • 十年之约
    • 狗云
    • 屌丝论坛

Articles under the label of 禁止IP

  1. Home
  2. 禁止IP

Nginx只允许域名访问,禁止ip访问

本文基于宝塔面板测试,其他环境请自行调式,所有设置改动之前请先备份好原文件。禁止ip直接访问主机的目的是为了避免其他人把未备案的域名解析到自己的服务器IP,而导致服务器被断网,我们可以通过禁止使用ip访问的方法,防止此类事情的发生。解决方法:本文介绍修改配置文件nginx.conf两种方法:1.在server段里插入如下正则:server { listen 80; listen 44...

  • 拾玖
  • November 24, 2020
  • No comments
    • Popular articles
    • Latest comments
    • Random articles
    Popular articles
    • Typembed 视频插件

      评论数: 36
    • 此内容被密码保护

      评论数: 0
    • 如何使用Ghost对UEFI+GPT+WIN10进行备份还原?

      评论数: 31
    • 立个flag,开始学Python,一年后见

      评论数: 16
    • 自定义书签版“全网VIP视频在线解析接口”

      评论数: 15
    Latest comments
    • 鸟叔
      加油
    • 小熊
      加油啊,大佬
    • 网友小宋
      证书过期了
    • 小熊
      昨晚的世界确实很美丽,全是x路
    • yearn19
      尊敬的独立博客作者您好,您的博客已经被收录在博客乌托邦,博客乌...
    Random articles
    • PHP获取服务器相关信息函数

      评论数: 0
    • 致那些过往的人和事

      评论数: 9
    • Linux常用的10个文件处理命令

      评论数: 1
    • php函数gmdate将秒转换成小时,分钟,秒显示(时长友好显示)

      评论数: 0
    • CentOS 7安装Nginx 并配置自动启动

      评论数: 0
    Blog Info
    • 102Posts Num
    • 523Comments Num
    • 5 Y 319 DOperating Days
    • 3 Mouths AgoLast activity
    Tag cloud
    excel实用案例 nginx excel函数 php centos win10 appnode 虚拟机 远程桌面 centos7 NodeBB 批处理 php函数 kms vmware esxi esxi nginx常用配置 github kms激活 vlookup linux命令 ccleaner amh面板 linux vps 反向代理 PHP环境 nginx安装 mysql vlmcsd
    Article Directory

    川公网安备 51132402000029号

     统计
    © 2023 All rights reserved.   浙ICP备15004174号-4