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

cache user authentication

Hello, I use an nginx server with kerberos in front of another webserver as authentication proxy. But when I do so, the page loads very slow and sometimes is even incomplete (probably due to timeouts)...

View Article


Files over ~5.5.MB not uploaded only over SSL

Hello, I had a server set up on http, however I wanted to secure it so changed this to https and enabled ssl on port 443. However, this has caused an issue whereby I can no longer upload files larger...

View Article


Internal redirect is not happening, download php file

Hi there, I'm pretty sure I missed an obvious thing but it's driving me crazy, I need other eyeballs.. I got an application with plugins were sources are organized like: /app/plugins/foo/www/... that...

View Article

NGINX LDAP proxy

Can the NGINX LDAP proxy be configured to forward the request as if were coming from the proxy server instead of the sending source computer?

View Article

Optimize images made by image_filter

Hello guys, I'm trying to optimize page speed of my website. When I test my website using Google's Pagespeed Insights tool it shows me that my images can be optimized by 20-50%, and it points to the...

View Article


Re: Is it possible to reference a named variable in the ssl_certificate...

Hi All, Just in case this was missed, does anyone no if this is at all possible?

View Article

Re: Is it possible to reference a named variable in the ssl_certificate...

https://www.google.nl/#q=lua+dynamic+ssl+certificate ea: https://litespeed.io/dynamic-tls-certificates-with-openresty-and-ssl_certificate_by_lua/

View Article

Re: Is it possible to reference a named variable in the ssl_certificate...

Thanks @itpp2012, unfortunately, that site (litespeed.io) has an expired cert. :(

View Article


Re: Is it possible to reference a named variable in the ssl_certificate...

Just create a temporary exception.

View Article


Re: Optimize images made by image_filter

Guys, anyone?

View Article

Re: Make Nginx not process If-Match header

I am facing similar issue wherein nginx throws 412 for If-Match even when response header etag value matches it for a GET request. Also request is being handled via X-Accel-Redirect flow having few...

View Article

Re: Make Nginx not process If-Match header

Looks like the 412 is coming from your backend (apache) and not nginx.

View Article

how to install letsencrypt ssl certificate in vestacp?

I am using vestacp with nginx and php-fpm. I am trying to get a certificate for my site. I am getting this error. I am trying to do it using this link https://github.com/interbrite/letsencrypt-vesta ....

View Article


ASP.NET MVC routing with NGINX proxy

I have an .Net Core (MVC 6) web application running on Linux machine via Kestrel, with NGINX serving as proxy from port 80 -> 5000 Unfortunately I´m not allowed to use default route as another...

View Article

Re: Load balancing syslog with UDP

Hey facing similar situation. Was this solved?

View Article


Re: Load balancing syslog with UDP

Yes. You have to set the proxy_responses field to 0. So using my above example, it looks like: stream { server { listen 11016 udp; proxy_responses 0; proxy_pass port_11016_stream_backend; } upstream...

View Article

Follow redirect 301 and proxy_pass last location found

Hello guys, I'm trying to resolve this problem: First URL: http://first-domain.com/?some_parameters=123 Return Header Location (301) at this another url:...

View Article


HTTP Basic Authentication against a IMAP Server

Currently i have configured Nginx to use auth_basic for accessing some directory's. I use "auth_basic_user_file /path/to/.htpasswd", so store the user credentials. Since all the Credentials in this...

View Article

Using MAP directive

I'm trying to use the "map" directive to test for a set on know ip's as crawlers, to prevent their requests form being logged. in the http section map $realip_remote_addr $crawlerip { default 0;...

View Article

Re: Using MAP directive

This will work provided you get the real IP addresses.

View Article
Browsing all 4759 articles
Browse latest View live


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