JaeYeopHan / tip-archive

📦 Archiving various development tips. If you watch this repository, you can get issues related to the newly registered development tip from the GitHub feed.
https://www.facebook.com/Jbee.dev/
245 stars 8 forks source link

nginx issues summary #46

Open JaeYeopHan opened 5 years ago

JaeYeopHan commented 5 years ago

Nginx

Security issues

Hide nginx version in response header

http {
  # other config
  server_tokens off;
}

L7 health check

200 OK is important!

http {
  server {
    listen 80;
    # ohter config
    location /monitor/l7check {
      root /home1/irteam/...
    }
  }
}