hi there. thanks for the nice video. I have a question. default.conf and web.conf are missing by default for me. is there something I must do in order to have them in conf.d?
Thanks for the video.Im new to this and trying to use the NGINX as an API gateway in a kubernetes setting. It is the basic location and upstream stuff that doesnt seem to work. Do you have a video that specifically creates a gateway with NGINX?
GREAT video, thank you. For some reason server good administration/configuration content seems to be quite rare on TH-cam. Question: since you configured servers (virtual hosts) in both web.conf and server.conf, I am curious... is there any functional difference between the various conf files? Or do they all function in exactly the same way and it's just up to you to break up your configuration however you want?
Just to break up your config. This style of organization makes it easier to modify complex configurations as well as migrate your install to another machine.
if I'm using the Kong Ingress Controller (runs on top of Nginx) in Kubernetes, where do I locate the main nginx conf file? I don't have an /etc/nginx/nginx.conf file. I do, however, have an /etc/kong/kong.conf.default file.
Hi, Jay. The video exactly what I want and thank you so much for sharing it. I have a question now, did Nginx support to suspend a request to a service until it's requirement variable, which comes from another request's response, is ready?
At around 10:15 when you describe how the .conf files referenced by the include directories are loaded and processed alphabetically, I assume that you are only referring to those loaded with the wildcard. If I needed to ensure that one runs first or last, I could just add additional include directives (using the full file name) in any of the auto-loaded .conf files and those include statements would be loaded in the order they appear - right? Or not? (You made it sound like all of the include files are loaded alphabetically.). Other than this one slightly unclear point, the video was great and very useful! Thanks.
I have a question about that location directive. Will a simple forward slash match every Uri or literally just when you type a forward slash? Or why do you not need to type forward-slash in URI and it still does resolve? I have an app and I think it just resolves all URIs. But its kind of magic to me, needs a few words of explanation.
So basic , this tutorial, you can make how to optimize php workers , how to optimize worker and how to proper configures fastcgi caching, how to configure caching layer
Perhaps you’re not using Debian Linux. Different distributions can have config files in different locations. If you build nginx from source, you can choose anywhere for config files location.
So glad I found this video. Thank you!
Start Nginx:
sudo systemctl start nginx
Stop Nginx:
sudo systemctl stop nginx
Restart Nginx (to apply configuration changes):
sudo systemctl restart nginx
Reload Nginx (to apply configuration changes without interrupting active connections):
sudo systemctl reload nginx
Check Nginx Configuration Syntax:
sudo nginx -t
View Nginx Status:
sudo systemctl status nginx
Enable Nginx to Start at Boot:
sudo systemctl enable nginx
View Worker Processes (list running worker processes and their process IDs):
ps aux | grep nginx
ps aux | grep nginx
sudo nginx -V | grep "worker_connections"
great video to have a big picture of config context
Thanks. This tutorial is easy understand
Thank you...Great Video
Awesome video :)
hi there. thanks for the nice video. I have a question. default.conf and web.conf are missing by default for me. is there something I must do in order to have them in conf.d?
This class is awesome 😎
Hi Can we have multiple proxy_pass in single block directive (location)?
Is there a guide for configuring user and group privelage for nginx and php.fpm for wordpress on amazon linux 2023
Hi Jay, can you explain how the communication happens from client to nginx to back-end server and vice versa
Thanks for the video.Im new to this and trying to use the NGINX as an API gateway in a kubernetes setting. It is the basic location and upstream stuff that doesnt seem to work.
Do you have a video that specifically creates a gateway with NGINX?
GREAT video, thank you. For some reason server good administration/configuration content seems to be quite rare on TH-cam. Question: since you configured servers (virtual hosts) in both web.conf and server.conf, I am curious... is there any functional difference between the various conf files? Or do they all function in exactly the same way and it's just up to you to break up your configuration however you want?
Just to break up your config. This style of organization makes it easier to modify complex configurations as well as migrate your install to another machine.
if I'm using the Kong Ingress Controller (runs on top of Nginx) in Kubernetes, where do I locate the main nginx conf file? I don't have an /etc/nginx/nginx.conf file. I do, however, have an /etc/kong/kong.conf.default file.
Good
Could you also please explain what are Upstream and Downstream ? Thanks
Hi, Jay. The video exactly what I want and thank you so much for sharing it. I have a question now, did Nginx support to suspend a request to a service until it's requirement variable, which comes from another request's response, is ready?
At around 10:15 when you describe how the .conf files referenced by the include directories are loaded and processed alphabetically, I assume that you are only referring to those loaded with the wildcard. If I needed to ensure that one runs first or last, I could just add additional include directives (using the full file name) in any of the auto-loaded .conf files and those include statements would be loaded in the order they appear - right? Or not? (You made it sound like all of the include files are loaded alphabetically.). Other than this one slightly unclear point, the video was great and very useful! Thanks.
The wildcard loads files alphabetically. This is standard Linux behavior. To load certain files first, you can name your files like so: “01-file.conf”
I have a question about that location directive. Will a simple forward slash match every Uri or literally just when you type a forward slash? Or why do you not need to type forward-slash in URI and it still does resolve? I have an app and I think it just resolves all URIs. But its kind of magic to me, needs a few words of explanation.
Every URI begins with a slash. So a simple slash will cause a location match for any URI in nginx.
You guys confuse me up with new things lol,🥺🙏
How to redirect the request using path to specific folder
How we define worker processes and connection
And what is paging ?
So basic , this tutorial, you can make how to optimize php workers , how to optimize worker and how to proper configures fastcgi caching, how to configure caching layer
Please share the github link.
"if you have any questions, please feel free to reach out to me in the comments section below" ------ WHERE ARE OUR RESPONSES JAY DESAI? lol
why is there no sites-available and sites-enabled folder in /etc/nginx?
Perhaps you’re not using Debian Linux. Different distributions can have config files in different locations. If you build nginx from source, you can choose anywhere for config files location.
Same also i can't see conf.d directive 🥺, tried everything , only way for me to complete targets , is to put everything manually,
Those two folders are only available if you have installed nginx from ubuntu apt / snap repository and not from nginx source repo
They exist for me whether I use Ubuntu or not when I use the OS repositories.