Comment 4 for bug 1619687

Revision history for this message
Cory Benfield (lukasaoz) wrote :

Sure. I would add this block to the top of the nginx default site file:

server {
        listen 443 ssl deferred;

        root /usr/share/nginx/html;
        index index.html index.htm;

        # Make site accessible from http://localhost/
        server_name localhost;

        location / {
                # First attempt to serve request as file, then
                # as directory, then fall back to displaying a 404.
                try_files $uri $uri/ =404;
                # Uncomment to enable naxsi on this location
                # include /etc/nginx/naxsi.rules
        }
}