server {
    listen 80;

    server_name _;

    root /usr/share/nginx/html;

    location / {
        autoindex on;
        expires 30d;
    }

    location ~ \.php$ {
        deny all;
    }
}