Skip to content

Instantly share code, notes, and snippets.

@lolmaus
Created March 21, 2012 14:02
Show Gist options
  • Save lolmaus/2147119 to your computer and use it in GitHub Desktop.
Save lolmaus/2147119 to your computer and use it in GitHub Desktop.
#######################################################
### nginx default server
#######################################################
server {
limit_conn gulag 18; # like mod_evasive - this allows max 18 simultaneous connections from one IP address
listen 188.138.121.41:80;
server_name _;
location / {
root /var/www/nginx-default;
index index.html index.htm;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment