Skip to content
Primary Navigation Menu
Menu
  • Home
  • About & Contact
  • Advertise
  • Subscribe
  • Privacy Policy
David Yin's Blog
Tech geek. Life geek.

404

Prevent the direct IP address access to Nginx webserver

2022-05-21
In: L.A.M.P.
Tagged: "ip address", 404, ban, block, direct access, nginx

First, make sure all the virtual host site conf file has no default_server. Then, make a new conf file under /etc/nginx/conf.d/. For me I use default.conf. Add the following into this file to block all the direct IP access for port 80, or http. where _ catches all the domainContinue Reading

Make a customized 404 error page

2008-01-05
In: L.A.M.P., Web & Network
Tagged: 404, customized, error, htaccess

The 404 error or Not Found error message is an HTTP standard response code indicating that the client was able to communicate with the server but either the server could not find what was requested, or it was configured not to fulfill the request and not reveal the reason why.Continue Reading



Tags

"new features" "phpBB 3" "speed test" "Windows 7" Android beta Blog bug calibre Canada Centos Code dreamhost error Firefox firmware freeware game Google how-to installation internet Linux MovableType MT MySQL performance PHP plugin release review router security server software SSL test tool ubuntu update upgrade voip VPS windows wordpress

Useful links

  • Alive Math Worksheet
  • Free InOut Board
  • Web Site Directory
  • Free Thinking
  • Dba notes
  • aw’s Blog
  • OneLaunch

Categories

  • Digest (75)
  • DreamHost Log (41)
  • Hardware (351)
  • Independent Thinking (28)
  • Insurance (5)
  • jQuery (9)
  • L.A.M.P. (240)
  • Money Maker (22)
  • My Life (111)
    • Journey of Faith (1)
    • Shanghai food (1)
  • Notes of MovableType (127)
  • phpBB Mod & Tips (14)
  • Reviews (124)
    • Freeware Review (43)
  • Save Money (2)
  • SEO & SEM (9)
  • Software (266)
  • Two Week Campaign (13)
  • Uncategorized (1)
  • Vehicles (14)
  • VOIP (38)
  • Web & Network (386)
  • WordPress Notes (52)

Archives

© David Yin. Yinfor.com All rights reserved. 2004 - 2022