aboutsummaryrefslogblamecommitdiff
path: root/terraform/provision/rootfs/etc/nginx/sites-enabled/www.conf
blob: d3118e6971c000f7fc46cb422b5009f2a4c0f010 (plain) (tree)






















                                               
server {
    server_name www.crashbox.io;
    listen 80;
    listen [::]:80;
    listen 443 ssl;
    listen [::]:443 ssl;
    return 301 https://crashbox.io$request_uri;
}

server {
    server_name crashbox.io;
    listen 80;
    listen [::]:80;
    listen 443 ssl;
    listen [::]:443 ssl;

    root /usr/local/share/www;
    index index.html;

    location / {
        try_files $uri =404;
    }
}