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

Re: NGINX Reverse Proxy for RD Gateway stops working

By the way, this is the chain of event logs that come thru after I click to launch the rdp file from a client connected to the RD Gateway website: These are informational: RDP ClientActiveX is trying...

View Article


Access logfile without IP

I am running an application behind a haproxy reverse proxy in ssl pathtrough mode. The application works fine so far. In order to see the remote IP's, and not just the address of the reverse proxy, in...

View Article


Nginx download the index file and 404 Not Found when I want to go to the...

Hello, this is my Nginx config file for Domain: ---------------------------------------------------------------------------------------- ############# DOMAIN domainname.COM #################### server...

View Article

Nginx proxy_cache_min_use Feature

Hi everyone, I am working on a fairly complex Nginx caching setup and need to know is there a timeout time for the number of requests before it caches them. In other words for how long does it count...

View Article

cant get https

Hello to all i am new at this. Have my nginx working on docker in a Raspi, i had it working fine but i now i can not get certificates, i am working cloudflare and my dns porkbun. i also have...

View Article


redirect and add client ip to URI

hi community, i have a somewhat weird question, but we need this for a workaround: - I want to call: http://my-nginx-instance - it should answer with: HTTP 301 ->...

View Article

Block X-FORWARDED-FOR IP in nginx

I have my website on nginx behind AWS Load Blancer. I want to block Some IP's to access my website. I tried a lot but nginx not recognised original client IP i failed to block IP's. Please help me to...

View Article

Calculate latency introduced by NGINX

I'm using NGINX as a reverse proxy for my web server. What's the best way to calculate the additional latency introduced by NGINX? Currently I'm looking at request_time - upstream_response_time but...

View Article


Cookies are sometimes empty

Dear friends, I'm using a nginx dockerized image with this server block: server { listen 80; listen [::]:80; server_name localhost; location / { add_header Set-Cookie "username=$http_matricola;...

View Article


Re: Allow someone to watch a livestream from the beginning if he tunes in late

I install this virsion nginx 1.19.3.1 Unicorn and i try to start it from cmd but i don't now if it's really start how can i start the localhost

View Article

Nginx reverse proxy for mpeg-ts. Not working. Lighttpd is better than Nginx?

Hello, I bought a new high resolution camera. The camera is able to generate a multicast stream, that I set as input to VLC. I configure VLC to stream via http the multicast stream. If I go directly to...

View Article

Re: Cookies are sometimes empty

I've been able to pinpoint the cause, but I don't really understand it too well. add_header Set-Cookie "username=$http_matricola; Path=/" always; when a file like this is requested /static/js/xxx.js it...

View Article

Provide insights on nginx reverse proxy with external auth

I want to use an external authentication service to protect my api backend. For that I want to use nginx. Because this is deployed on Docker the IP number of the upstream backend services can change....

View Article


413 Request Entity Too Large nginx/1.18.0 (Ubuntu)

This message occurs whenever I attempt to upload a file greater than 2M in wordpress. I have made the follow changes in order to increase the allowed file upload sizes: nginx.conf client_max_body_size...

View Article

Disable upstream response buffering nginx

Nginx keeps logging below message on my error log > [warn] 16387#16387: *1117 an upstream response is buffered to a temporary file /var/cache/nginx/fastcgi_temp/1/32/0000000321 while reading...

View Article


UTF-8 not working.

Im having real trouble getting UTF-8 working with Autoindexing for Nginx on Windows. No special characters show up, translates to ?� Will post my Nginx config below: Please send help! server { # local...

View Article

Duplicate streams

Dear all, Could you help me with creating a configuration for the duplication stream(not balancing)? I need to send accounting packets in two directions: the first for the main radius, the second to...

View Article


Re: Nginx proxy_cache_min_use Feature

bump Really need to know for how long does proxy_cache_min_use count requests and how can i increase or decrease this time

View Article

Redirecting from one URL to another within the same domain

Hi, I'm trying to test redirects and I've been going through the rewrite documentation but not able to wrap my head around it. I wanted to redirect this URL: https://classbproject.com/contact to this...

View Article

Balance load between 2 Nginx reverse proxy

Hey folks, i would like to balance incoming requests across 2 or more nginx used as reverse proxy only. For this reason i am using, in nginx.conf on both nodes, stream directive in this way: stream {...

View Article
Browsing all 4759 articles
Browse latest View live


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