Seriously? I got more confused now and will need to basically look for a better explanation, I appreciate the work of the engineer here, however, there is a saying, when you understand something really well you can explain it to a 5-year-old and it will be understood.
I have a ca provideing certificates for all my servers. How can I configure nginx to use the ca.crt file to check if it is one of my own servers requesting and just let this requests through?
is there a simple line we can add to the config where we set up the custom_log to include datetime? I am struggling to find something suitable on google
If you're on Linux you can use logrotate It's a built in utility for managing log files. Create a custom logroate job for nginx $ vi /etc/logrotate.d/nginx /var/log/nginx/*.log { create 600 nginx nginx daily delay-compress date %mm-dd-yyy rotate 4 post_rotate >2 /dev/null } The file would look something like that. You can look the documentation or Linux manual pages for logrotate. Good luck on your endeavors!
how about if I have two apps running in my instance say in port 4000 and 9000 then I want to serve the two apps using the same IP but different paths in the request
I am using Nginx as a revere proxy and I have a requirement to Intercept the application server response ( encrypt it by calling another service before returning it to the client ) could you please suggest a solution.
thanks for the video. I wanted to ask if there is a configuration that works with exchange. I have tried various configurations but I have had problems especially with the OUTLOOK and mobile clients
default.conf is located in /conf.d/default.conf when you install NGINX OSS or Plus. Here’s a link to installing NGINX OSS - docs.nginx.com/nginx/admin-guide/installing-nginx/installing-nginx-open-source/
can anyone tell me i am passing the headers from frontend but it is lost at nginx gateway i want to pass it back to backend anyone who knows how to do it?????????????????????????????????????????????
Absolutely - You can proxy TCP connections using proxy_pass directive. It is performed via the Stream Module. Links below give you more details. docs.nginx.com/nginx/admin-guide/load-balancer/tcp-udp-load-balancer/ docs.nginx.com/nginx/admin-guide/security-controls/securing-tcp-traffic-upstream/
Hi! Correct me if im wrong, I am using Pihole, a DNS Resolver Server + Sinkhole + Firewall. To map a custom URL (I.e. domain:port/subdomain) to a custom Domain Name, I'll need to use reverse proxy, am i right?
Yes - NGINX OSS (free version) supports both TCP and UDP proxying/load-balancing. Both TCP/UDP proxying/load-balancing is performed by the Stream Module. More details on the links below: docs.nginx.com/nginx/admin-guide/load-balancer/tcp-udp-load-balancer/
Well this is awesome. My knowledge on networks, reverse proxies etc is utterly woeful but this helps me understand the fundamentals of Nginx. Thank you!
simple and direct to the point tutorial :))
Seriously? I got more confused now and will need to basically look for a better explanation, I appreciate the work of the engineer here, however, there is a saying, when you understand something really well you can explain it to a 5-year-old and it will be understood.
@@jairunet agreed
Really useful video - thanks very much. could you do another showing how you can proxy based on the domain/subdomain name please?
Fantastic video it helped me to understand how to configure, in a right way, this technology. Thank you.
ctrl+L is faster than clear ;), thx for the tutorial
Or alias "c" to "clear" in your terminal rc file. :)
default nginx behaviour is bloody naughty in my experience lol
Hi sir,
Good custom logs format.
TY.
Nicely explained; I wish I had come across this before wasting a lot of time through trial and error on Apache. Thank you!
*Very nice video and explanation, thanks a lot and greetings from Argentina.*
Excellent Demo
Can this be setup on Qnap for plex and emby apps ?
I have a ca provideing certificates for all my servers. How can I configure nginx to use the ca.crt file to check if it is one of my own servers requesting and just let this requests through?
Can the reverse proxy and load balancer be on the same instance of Nginx, or should they be on separate instances?
Absolutely. That's the idea. However, for enterprise architectures, I'd defer to the security teams for guidance.
Good technical level on the presentation and informative
/etc/nginx/conf.d is empty.
is there a simple line we can add to the config where we set up the custom_log to include datetime? I am struggling to find something suitable on google
If you're on Linux you can use logrotate It's a built in utility for managing log files.
Create a custom logroate job for nginx
$ vi /etc/logrotate.d/nginx
/var/log/nginx/*.log {
create 600 nginx nginx
daily
delay-compress
date %mm-dd-yyy
rotate 4
post_rotate >2 /dev/null
}
The file would look something like that. You can look the documentation or Linux manual pages for logrotate.
Good luck on your endeavors!
Thanks for the video
very informative video, thank you
After configuring NGINX to an IIS web server, is there any additional setup needed at Windows Server?
very nice and clear tutorial, thx so much
Getting cors policy blocked I don't know how to write up the sites available file for my stack😣
I believe you can but tNice tutorials will depend what version you have.
how about if I have two apps running in my instance say in port 4000 and 9000 then I want to serve the two apps using the same IP but different paths in the request
great content thanks!
I am using Nginx as a revere proxy and I have a requirement to Intercept the application server response ( encrypt it by calling another service before returning it to the client ) could you please suggest a solution.
Thanks a lot!
thanks for the video. I wanted to ask if there is a configuration that works with exchange. I have tried various configurations but I have had problems especially with the OUTLOOK and mobile clients
Hello, i have this error on the firefox page : 502 gateway
I have an nginx proxy reverse with an iis. How to resolve this error ? Thanks.
Is it beneficial to configure nginx as a web server and a reverse proxy on the same VM?
please tell us how you installed nginx on vm? thanks
What can you do to display static elements that have a relative path?
Doesn't seem to work
Is it possible to use nginx reverse proxy as tcp?
it was useful, thanks a lot
In my directory, I can't find default.conf, what can I do? I NEED SOME HELPS.
default.conf is located in /conf.d/default.conf when you install NGINX OSS or Plus.
Here’s a link to installing NGINX OSS - docs.nginx.com/nginx/admin-guide/installing-nginx/installing-nginx-open-source/
can anyone tell me i am passing the headers from frontend but it is lost at nginx gateway i want to pass it back to backend anyone who knows how to do it?????????????????????????????????????????????
Thank you so much for tNice tutorials
Awesome video +++++++++++++ 🙂
any way to do Reverse Proxy for tcp stream?
Absolutely - You can proxy TCP connections using proxy_pass directive. It is performed via the Stream Module. Links below give you more details.
docs.nginx.com/nginx/admin-guide/load-balancer/tcp-udp-load-balancer/
docs.nginx.com/nginx/admin-guide/security-controls/securing-tcp-traffic-upstream/
it becomes pain in the as when it comes to configuring https reverse proxy
Hi! Correct me if im wrong, I am using Pihole, a DNS Resolver Server + Sinkhole + Firewall.
To map a custom URL (I.e. domain:port/subdomain) to a custom Domain Name, I'll need to use reverse proxy, am i right?
Yes this is the whole point of a reverse proxy to map a subdomain to the same public ip but different port/ internal ip
Where is the git hub?
Here's the repo: github.com/jay-nginx/reverse-proxy.
@@nginx_official thank you.. great video btw!!
Wilson Cynthia Garcia David Lopez Frank
Is Nginx free version support tcp and udp reverse proxy?
Yes - NGINX OSS (free version) supports both TCP and UDP proxying/load-balancing. Both TCP/UDP proxying/load-balancing is performed by the Stream Module. More details on the links below:
docs.nginx.com/nginx/admin-guide/load-balancer/tcp-udp-load-balancer/
Well this is awesome. My knowledge on networks, reverse proxies etc is utterly woeful but this helps me understand the fundamentals of Nginx. Thank you!
DONT BE ALARMED!
You have a mobile cranial impression. Please seek medical attention or perhaps check your camera filter settings :)
132 Jeffrey Shoal
And don't know if I should use conf,🙄🙄 sites available 😠
shity youtube doesn't accept my comment where I asked about http2 to http reverse proxy
proxy_add_x_forwarded_for gives error for me