So let’s dive into configuring our Nginx

I assume that you already have a familiarity with Nginx. You should also have it installed on your machine.

Let’s dive in.

All of the configuration files are in this directory : /etc/nginx

Inside that directory, three directories and one file are important for use:

/sites-available   /sites-enabled   /conf.d   nginx.conf

nginx.conf contains the general configuration of Nginx

/conf.d is a directory where you can define your specific configurations for Nginx

/sites-available is a directory where you define your configurations for a specific website (you may have three websites, like one is your blog, the other is your personal website, and the other is for your business. In that case, you need to define a configura…

Similar Posts

Loading similar posts...

Keyboard Shortcuts

Navigation
Next / previous item
j/k
Open post
oorEnter
Preview post
v
Post Actions
Love post
a
Like post
l
Dislike post
d
Undo reaction
u
Recommendations
Add interest / feed
Enter
Not interested
x
Go to
Home
gh
Interests
gi
Feeds
gf
Likes
gl
History
gy
Changelog
gc
Settings
gs
Browse
gb
Search
/
General
Show this help
?
Submit feedback
!
Close modal / unfocus
Esc

Press ? anytime to show this help