On Sat, 11 Jan 2014 00:57:30 GMT, APott wrote:

Whats your suggested way to serve static files (css, js, images etc...) with nginx on a subdomain? (static.apott.net for example)

Based on snippet in linked article:

    server
    {
        listen                80 default_server;
        server_name           example.com;

        location /
        {
            proxy_pass        http://localhost:8080;
            proxy_set_header  X-Real-IP  $remote_addr;
            proxy_set_header  Host $host;
        }
    }

    server
    {
        listen                80;
        server_name           static.example.com;

        location /
        {
            root              /home/http/static/;
            index             index.html;
            expires           1d;
        }
    }

Also, what's the best way to correctly stop the vibe.d http server? If you ctrl-z (obviously not a good way to stop a program) it turns into a zombie process clogging up the port it's listening on, making it necessary to manually clear it out. This is an issue when debugging since I don't know how to properly do this while rebuilding etc...

Ctrl+C is default way to stop any linux program. You can also send interrupt singal from shell: "kill -2 `pidof mybinaryname`". "kill -9" (SIGKILL) to kill it in a harder way instead.