Hello ? Anyone gets same problem ?
↧
Re: Multi wildcard certificates for multi wildcard domains
↧
Re: Closed connection in SSL handshake (10054: An Existing ....
Hi Jviola,
I also have identical problem, in both cases I am using the same wild card cert for nginx and upstream server. Could you be more clear on how you fixed this, and what you suspect the problem was.
Thanks
Shaun
I also have identical problem, in both cases I am using the same wild card cert for nginx and upstream server. Could you be more clear on how you fixed this, and what you suspect the problem was.
Thanks
Shaun
↧
↧
How to have SSL passthrough with source ip preservation
Hey,
I would like to know how to have SSL passthrought (using map $ssl_preread_server_name) where I have one main load balancer forwarding the traffic to multiple Node.js servers. The Node.js servers don't have NGINX in front except the load balancer, so the SSL configurations are in Node.js, not NGINX.
The load balancer - entry NGINX config looks like that:
--
stream {
map $ssl_preread_server_name $name {
backend.example.com backend;
}
upstream backend {
server 192.168.0.1:443;
}
server {
listen 443;
proxy_pass $name;
ssl_preread on;
}
}
--
And I would like to set x-forwarded-for real ip so that the Node.js servers can get the client IPs (not the load balancer ip).
I saw there is proxy_protocol (within a stream), but it looks like it's not working with the kind of settings I am using (SSL credentiels directly in Node.js, not NGINX).
Any idea how to accomplish this?
Thanks
I would like to know how to have SSL passthrought (using map $ssl_preread_server_name) where I have one main load balancer forwarding the traffic to multiple Node.js servers. The Node.js servers don't have NGINX in front except the load balancer, so the SSL configurations are in Node.js, not NGINX.
The load balancer - entry NGINX config looks like that:
--
stream {
map $ssl_preread_server_name $name {
backend.example.com backend;
}
upstream backend {
server 192.168.0.1:443;
}
server {
listen 443;
proxy_pass $name;
ssl_preread on;
}
}
--
And I would like to set x-forwarded-for real ip so that the Node.js servers can get the client IPs (not the load balancer ip).
I saw there is proxy_protocol (within a stream), but it looks like it's not working with the kind of settings I am using (SSL credentiels directly in Node.js, not NGINX).
Any idea how to accomplish this?
Thanks
↧
How to configure Nginx for Windows
Hello, I am looking for a better alternative for my webserver other than Apache for my Windows server. When the server is under high loads at peek times (streaming server with 1000's of users accessing 2-3 MB files all at once) I find that it starts to serve files a lot slower and get timeouts. The system resources are not high at all so must be the web service (Apache) so I was wondering if Nginx would be able to handle this better? if so, what setting should I use? I was reading this config file here : https://github.com/denji/nginx-tuning but I think this is only for Linux because a lot of the settings are not in my conf file. Also, what line is it that directs the server to a different folder on my C: drive where I have my own Index.html and my other files?
Thanks for you time.
Thanks for you time.
↧
Proper syntax in nginx.conf
Hello, running Nginx for Windows but when I run it and then try to ping the server I get pinging replys but 504 server errors and cant get the index page to load. Do I have something wrong in my config file below?
location / {
# root html;
root C:/www/htdocs;
index C:/www/htdocs/index.html;
}
location / {
# root html;
root C:/www/htdocs;
index C:/www/htdocs/index.html;
}
↧
↧
Re: Proper syntax in nginx.conf
Sorry, the ping error is 500 Internal server error
↧
Re: Proper syntax in nginx.conf
okay, I changed it to
root C:/www/htdocs;
index.php index.html index.htm;
I don't get the error now and it pings correctly but unable to resolve the domain name. is there something else I have to change to make is actually serve webpages and files?
If I go to localhost from the machine it is fine but not able to resolve site externally
root C:/www/htdocs;
index.php index.html index.htm;
I don't get the error now and it pings correctly but unable to resolve the domain name. is there something else I have to change to make is actually serve webpages and files?
If I go to localhost from the machine it is fine but not able to resolve site externally
↧
solved :) thanks
solved :) thanks
↧
Re: solved :) thanks
I wish :)
↧
↧
Re: Proper syntax in nginx.conf
Solved - I didn't enable Nginx in the Windows Firewall
↧
Re: How to configure Nginx for Windows
Solved - configured it correctly
↧
Known issues
I just wanted to confirm by the issues stated below that there is no point in having set more than 1 Worker Process and no more than 1024 Worker connections and by putting anything more, Windows/Nginx will ignore it?
If I have external 2000 connections trying to start, they have to wait until one frees up even if I was to put 2048 Worker connections and Auto for Worker processes, right?
Known issues : http://nginx.org/en/docs/windows.html
Although several workers can be started, only one of them actually does any work.
A worker can handle no more than 1024 simultaneous connections.
If I have external 2000 connections trying to start, they have to wait until one frees up even if I was to put 2048 Worker connections and Auto for Worker processes, right?
Known issues : http://nginx.org/en/docs/windows.html
Although several workers can be started, only one of them actually does any work.
A worker can handle no more than 1024 simultaneous connections.
↧
Re: Known issues
Still true for the official version, this one does not have these issues: http://nginx-win.ecsds.eu/
↧
↧
Re: Known issues
Hello, so the free one has the issues but the commercial one does not? or is nginx 1.13.8.1 Violet still free for personnel use?
Looks as though from the old Apache logs, i was only needing like 400 connection requests at a time, so I should be good to stick with the free one for now? is there a config like Apache has that I can enable in Nginx that shows me how many concurrent workers/connections are being used so i can keep checking it at peek times? Thanks
Looks as though from the old Apache logs, i was only needing like 400 connection requests at a time, so I should be good to stick with the free one for now? is there a config like Apache has that I can enable in Nginx that shows me how many concurrent workers/connections are being used so i can keep checking it at peek times? Thanks
↧
Re: Known issues
This commercial one also has a free version you can download which includes examples.
If you can do what you want with the free version your all set, if you need more you pay, its that simple.
If you can do what you want with the free version your all set, if you need more you pay, its that simple.
↧
Re: Known issues
Okay thanks, and it looks like in Violet, there are nginx-org.conf and nginx-win.conf but no nginx.conf so I was wondering once I copy over nginx_basic over my current nginx.exe, which config does the new version use? (nginx.conf, nginx-org.conf or nginx-win.conf)
↧
Re: Known issues
Also, does this work in the Windows version?
https://easyengine.io/tutorials/nginx/status-page/
And does this setting for server_name always have to be changed to my domain name? what if I don't have a domain name, can I just put the servers IP Address?;
server {
listen 80;
server_name localhost;
https://easyengine.io/tutorials/nginx/status-page/
And does this setting for server_name always have to be changed to my domain name? what if I don't have a domain name, can I just put the servers IP Address?;
server {
listen 80;
server_name localhost;
↧
↧
Re: Known issues
99% of the inner working are the same as for linux, use google.
↧
Re: Known issues
Okay, I got the status page to work :)
and does the setting for server_name always have to be changed to my domain name? what if I don't have a domain name, can I just put the servers IP Address?;
server {
listen 80;
server_name localhost;
and does the setting for server_name always have to be changed to my domain name? what if I don't have a domain name, can I just put the servers IP Address?;
server {
listen 80;
server_name localhost;
↧
Re: Known issues
No, Yes.
↧