Browsing this Thread:   2 Anonymous Users






nginx ip 拦截
#1
Just can't stay away
Just can't stay away


See User information
location / {

                if (
$remote_addr "^10\.10\.1\.1[0-9]+$")
                {
                        return 
533;
                }

                
# First attempt to serve request as file, then
                # as directory, then fall back to displaying a 404.
                # try_files $uri $uri/ =404;
        
}

Posted on: 2022/10/24 20:45
Top








friend links
Themes

(2 themes)
Login
Username:

Password:


Lost Password?
Register now!
Categories
Xoops (11)
--Modules (2)
--Themes (0)
Article (8)