Vanilla 1.1.8 is a product of Lussumo. More Information: Documentation, Community Support.
user www-data www-data;
worker_processes 4;
error_log /var/log/nginx/error.log;
pid /var/run/nginx.pid;
events {
worker_connections 1024;
}
http {
include /etc/nginx/mime.types;
default_type application/octet-stream;
access_log /var/log/nginx/access.log;
sendfile on;
tcp_nopush on;
keepalive_timeout 5;
tcp_nodelay off;
gzip on;
gzip_comp_level 2;
gzip_proxied any;
gzip_types text/plain text/html text/css application/x-javascript text/xml application/xml application/xml+r
include /etc/nginx/sites-enabled/*;
}
Posted By: goseOne way to get around this is by creating a virtual host with the name of your IP address.
...
server_name 123.321.123.321
location / {
root /usr/share/nginx/html;
index index.html index.htm;
}
...
That way when someone hits your IP address directly, they won't get a virtual host that you don't want them to.
include /etc/nginx/sites-enabled/*;1 to 8 of 8