server { listen 80; root /usr/share/nginx/html; default_type text/plain; location / { try_files /domains.txt =404; } }