Ghost Installed in /blog directory. Why is Nginx taking over the root directory?

I’ve been on hiatus from blogging and decided to start over and reinstall ghost. Previously, I had Ghost 1.0 installed in a /blog/ directory and my portfolio website (a static, non-ghost set of pages) that lived in the root directory.

I used a one-click install to setup ghost 2.0 at Enoma's Blog which turned out great! But https://enoma.co is showing the “Welcome to Nginx” screen. Why is that?
How can I get enoma.co to display my index.html file?
I don’t want to use routing because I want my portfolio to use a totally different template and assets that the blog.

I’d appreciate any insights you have.

This is my nginx configuration:
server {
listen 443 ssl http2;
listen [::]:443 ssl http2;

    server_name SERVER_NAME;
    root /var/www/ghost/system/nginx-root;

    ssl_certificate /etc/letsencrypt/XXXXX/fullchain.cer;
    ssl_certificate_key /etc/letsencrypt/XXXXX/enoma.co.key;
    include /etc/nginx/snippets/ssl-params.conf;

    location =/ {
        root /var/www/;
        try_files /index.html /index.html; 
    }

    location ^~ /blog {
        proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
        proxy_set_header X-Forwarded-Proto $scheme;
        proxy_set_header X-Real-IP $remote_addr;
        proxy_set_header Host $http_host;
        proxy_pass http://127.0.0.1:2368;
        proxy_redirect off;
    }

    location ~ /.well-known {
        allow all;
    }

    client_max_body_size 50m;

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.