The following is a bare-minimum snippet that you can put in a file in the /etc/nginx/sites-enabled directory to serve a static website over port 1313 through Nginx:

server {
    listen 1313;
    root /home/ubuntu/site;
    location / {
        try_files $uri $uri/ =404;
    }
}