Where is the NGINX config file for my site?

Linode Staff

Where can I find the config file for my NGINX-based website?

2 Replies

The virtual host information for a site using NGINX is typically found at /etc/nginx/conf.d/example.com.conf, where example.com is your site's domain name. You can find more information about configuring NGINX in our guide, in particular, in the section on Name-Based Virtual Hosts.

Please also look in the /etc/nginx/sites-enabled directory if it exists (standard for Debian / Ubuntu).


Please enter an answer

You can mention users to notify them: @username

You can use Markdown to format your question. For more examples see the Markdown Cheatsheet.

> I’m a blockquote.

I’m a blockquote.

[I'm a link] (https://www.google.com)

I'm a link

**I am bold** I am bold

*I am italicized* I am italicized

Community Code of Conduct