Quantcast
Channel: Nginx Forum - How to...
Browsing all 4759 articles
Browse latest View live
↧

http streaming

Hello, First thanks in advance for any help. I am new to Nginx and I am having troubles on how to configure the http block of the configuration file to stream a live working rtmp (debian jessie). I...

View Article


nginx as a URL router AND a load balancer at same time?

Is it possible to use nginx as a URL router and a load balancer? e.g. URL : /A/B/C HOSTS: x, y, z URL: /D/E/H HOSTS: e,f,g In the above scenario, it would pick one of x,y,z (using regular load...

View Article


ssl_verify_client ends up in 403

Hello Forum, Anyone ahs an idea how to allow (force) ssl_verify_client? I have done everything that was requested by the manuals, but if I set ssl_verify_client on, then the page recieves a 403, like I...

View Article

No address associated with hostname

Hi everyone! Since recently, after several hours of normal server functioning, file_get_contents () returns "php_network_getaddresses: getaddrinfo failed: No address associated with hostname". Nothing...

View Article

NGINX does not re-start when configured with SSL certificate that depends on...

I have an NGINX configuration with both HTTP and HTTPS traffic server blocks. Below is the HTTPS server block configuration snippet that is causing the problem. server { listen 10.1.1.5:443 default...

View Article


how to get the error line in the configuration file when nginx -t failure

Is there a way to get the line number and the file name when the nginx configuration test fails. nginx -t I am getting the following error, but it doesn't say anything about which config file and line...

View Article

conflicting server name

These are different vhosts and only included config files to nginx.conf mar 27 18:50:02 rastel nginx[6041]: nginx: [warn] conflicting server name "" on 0.0.0.0:80, ignored mar 27 18:50:02 rastel...

View Article

Re: conflicting server name

Fixed, server restart... stop/start nginx not working.

View Article


Re: Nginx as Reverse Proxy for Home Server

Hi, i just had a similar issue forwarding requests to my NAS from QNAP. Therefore i decided to define a second server-section like the following: server { listen 443; server_name nas.DOMAIN.COM;...

View Article


Handling 504 Gateway Time-out

Hi We are using nginx as a proxy infront of one of our rest based services. We were using an older version of nginx that, as I've read, retried failed post/put/delete requests. I read that it was...

View Article

Reverse Proxy to Multiple Servers

Hi, I'm new to Nginx and I've run into some issue, hope you can help me. Is there any way that I can do reverse proxy by for example: location /webapp1 { proxy_pass http://webapp1server:8080/; } and by...

View Article

How to log auth information with simple auth

Hello, Is it possible to log all username/passwords from a basic auth, e.g, whatever is provided in http://user:password@url.com/ and if so, how ? I suppose I can use the $remote_user variable for the...

View Article

Reverse Proxy Frontend-Server WOL Backend-Server

Hi all! I am pretty new in NGINX. Is there a possibility to automatically wake up a Backend-Server from Standby through the reverse proxy Frontend-Server always when somebody try to hit the webpage?...

View Article


Reverse mail proxy conceptual question

Hello everyone, I have a system running freebsd in a DMZ (A), accessing a system in the internal network (B) as a reverse proxy via HTTPS. Now I wanted to use it as a proxy for mail on B aswell. I...

View Article

Re: Reverse proxy for a TP-LINK router returns 403

I had the same issue with an Archer C2, however I was able to get it work by setting the Referer Header. proxy_pass http://192.168.0.1; proxy_set_header Referer http://192.168.0.1/;

View Article


nginx reverse proxy with ssl terminator and upstream

I use nginx as a SSL termination reverse proxy with upstream. The upstream points to my couchbase server installation that can be accessed without any problem directly (without using nginx ssl reverse...

View Article

Preserving Source IP using SSL Preread + OpenVPN

Please if anyone could help. I am trying to setup an OpenVPN server running on 443 tcp behind an Nginx 1.11.13 proxy while preserving the source IP. I have searched long and far and my nginx.conf is...

View Article


Re: Preserving Source IP using SSL Preread + OpenVPN

Define an extra server {} block, enable proxy protocol there, move proxy_pass to server block, call server block from map.

View Article

Re: Preserving Source IP using SSL Preread + OpenVPN

Thanks for the reply. I have created a new $ssl_preread_server called $test and a new server block with proxy_pass $test and proxy_protocol set to on but I am unable to set it to listen on 443 it says...

View Article

Re: Preserving Source IP using SSL Preread + OpenVPN

https always has a name, vpn/ssh does not so make the map(ping) work this way. internal passing on (443->map->1443->proxy_pass with proxy protocol...)

View Article
Browsing all 4759 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>