Commit 324fb8

2024-03-29 11:25:18 Arpan S.: -/-
nginx related config.md ..
@@ 1,6 1,15 @@
# Nginx Related Tips and Configurations
- For nginx, On most systems,
+ This page contains all the information you'll ever need regarding nginx and how to work with it in both a production and development/static enviroment.
+
+ ### Noteable Nginx Points
+ For nginx, On most systems, The config can be found in `/etc/nginx` & virtual hosts are present in:
+ - `/etc/nginx/conf.d` - CentOS/RHEL/AlmaLinux/RockyLinux Based systems
+ - `/etc/nginx/sites-available` - Debian/Ubuntu Based systems
+
+ Things to know:
+ - File names must end in a `.conf` as by default, the `nginx.conf` _(the parent file)_ only sees .conf files _(*.conf - setting)_.
+ - Files placed inside `sites-available` must be system linked using `ln` command to `sites-enabled` as by default, the `nginx.conf` _(the parent file)_ only sees the `.conf` files present inside `siltes-enabled` and not `sites-available`.
### Basic Nginx Config
0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9