Giter Site home page Giter Site logo

anubis's Introduction

ⲁⲛⲟⲩⲡ - 阿努比斯

阿努比斯(圣书体:𓇋𓈖𓊪𓅱𓃣,转写:inpw;科普特语:ⲁⲛⲟⲩⲡ,转写:Anoup;古希腊语:Ἄνουβις,转写:Anubis,早期名称:sab)

掌管自动禁止 IP 工作,本管理界面可以对默认 SSH 禁止IP 进行管理, 需要 fail2ban 安装

使用教程

  • 推荐使用 Ubuntu 20.04+, 理论上centOS 配置好也可以使用
  • 安装fail2ban
  • 修改 .env.example.env, 默认配置即可, 默认端口为 1233
  • 可以使用打包命令或者,直接用PM2启动项目, pm2 start pm2.json 当然里面的配置也需要对应的修改,如果不修改 ubuntu 默认可以使用

可以使用反向代理

  • 推荐使用nginx设置反向代理, 1233 端口是在救命的时候使用

nginx 二级目录反代

NOTE : 不推荐使用 除非你知道你在干什么

location /f2b {
    proxy_set_header Host $host;
    proxy_set_header X-Real_IP $remote_addr;
    proxy_set_header X-Forwarded-For $remote_addr:$remote_port;
    proxy_pass http://localhost:1233/f2b;
    # websocket
    proxy_http_version 1.1;
    proxy_set_header Upgrade $http_upgrade;
    proxy_set_header Connection $connection_upgrade;
}

location ~* ^/f2b/javascripts/(.+\.(js))$ {
    proxy_set_header Host $host;
    proxy_set_header X-Real_IP $remote_addr;
    proxy_set_header X-Forwarded-For $remote_addr:$remote_port;
    proxy_pass http://localhost:1233/f2b/javascripts/$1;
}

location ~* ^/f2b/images/flags/(.+\.(png|jpg|jpeg|gif))$ {
    proxy_set_header Host $host;
    proxy_set_header X-Real_IP $remote_addr;
    proxy_set_header X-Forwarded-For $remote_addr:$remote_port;
    proxy_pass http://localhost:1233/f2b/images/flags/$1;
}

屏幕截图

1 2 3 4

anubis's People

Contributors

qfdk avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.