Quantcast
Channel: Nginx Forum - Nginx Mailing List - English
Browsing all 7229 articles
Browse latest View live

Hostname in Root directive. (1 reply)

I know this may not be safe, but how can I set the hostname in the rootdirectivelocation /static {ie; root /www/$hostname/static;}_______________________________________________nginx mailing...

View Article


Nginx Cache Config with Multiple Disk Drives (1 reply)

Hi,I am looking for guidance on how best to configure Nginx Proxy Cache in a multi-disk drive environment. Our typical server setup is such that each drive is its own partition, for example, if we have...

View Article


Limit_rate for different resolutions !! (3 replies)

Hello,Is there a way that i could use different limit_rate in nginx fordifferent files ? I.e1. limit_rate 500k for 720p video files.2. limit_rate 180k for 320p video files.Best...

View Article

Location recursive downloads php files (1 reply)

I try to secure a specific folder and all files and subfolders with this location block:location ^~ /folder1/admin {auth_basic "Login";auth_basic_user_file...

View Article

Out of office vom 22.-26.7. (no replies)

Guten Tag,vielen Dank für Ihre Nachricht. Ich bin vom 22. bis 26. Juli viel unterwegs und kann nur beschränkt auf meine E-Mails zugreifen. Ich werde mich aber schnellstmöglich bei Ihnen...

View Article


Help with code (1 reply)

Hi All,I have the following code:location = /favicon.ico {if ($host = "abc.com"){return 301 "http://www.abc.com/favicon.ico";}}If I make a request to abc.com/favicon.ico I get a 301 and then a 200...

View Article

Update nginx with Ubuntu PPA (no replies)

I am upgrading nginx to latest 1.4.1 using PPA. repository.1. After install, do I need to restart it manually, or it is restartedautomatically?2. Is reload enough for the nginx upgrade? Or do I need to...

View Article

Nginx 1.4.2 Centos Packages (4 replies)

Hi,I just updated my nginx from 1.4.1 to 1.4.2 from packages provided by nginx for centos and then i realized that many modules available with 1.4.1 are not compiled in premade packages of 1.4.2 for...

View Article


Backend responding with 100 Continue results in the actual response being...

I'm using nginx as a reverse proxy, configured to use HTTP 1.1 so as to support range requests. The server responds to some of the requests with a "100 Continue", even if there was no "Expect:...

View Article


port redirection issue while using ssh tunnel (1 reply)

Hi list,I have a web app proxied by nginx. Everything works fine locally.However the web server is on our private network and I would like toaccess it though a ssh tunnel from the outside.Most...

View Article

Access to query param with dashes in the name (no replies)

Hi,for the http header Nginx Nginx convert the dashes in the header name to underscores.I have a query string with a param with a dash in the name, but i can't see it with $arg_PARAMETER variable.There...

View Article

access to email body and attachments within mail proxy? (1 reply)

Hi, I'm wondering whether the MailProxy module allows access to the e-mail content (body and attachments) of a proxied email. I'd like to intercept (encrypt) emails within SMTP, POP3 and IMAP requests....

View Article

Load Balancing and High Availability (3 replies)

Hi,I am a nginx newbie. I have nginx configured as a reverse proxy/load balancer in front of a small cluster of Jboss servers. I have configured as per the tutorials on the web like this one ref:...

View Article


Not listing proxy_pass port 8009 (15 replies)

Hello,I am using Nginx web server and getting error “502 bad gateway” while accessing some sites.I have observed that, proxy_pass port is not listing in the server.e.g.:- In above configuration...

View Article

ssl handshake fail when proxy between two tomcat with mutual authentication...

Hi,I've got a problem when setting up nginx as load balancer between two tomcats with mutual authentication.The system is like: Tomcat1 <--https-> Nginx <--https--> Tomcat2.Before adding...

View Article


Prevent nginx caching empty pages? (no replies)

Hi,I'm trying to diagnose a problem we have on a rather complex system withan nginx acting as a remote proxy server, where what appears to be acompletely empty response is being returned, seemingly...

View Article

Hashes / Arrays für $arg_PARAMETER (no replies)

Hello @all,Is it possible to define array / hashes in nginx? I have the followingidea:nginx should check $arg_PARAMETER which is defined by an array. If theright element in the array, then die access...

View Article


Incorrect redirect protocol when behind a reverse proxy (no replies)

Our nginx server is running on Heroku, which proxies SSL. This mostlyworks fine, but nginx has one problem with it: since it thinks the protocolis http, any redirects (such as trailing-slash redirects)...

View Article

cannot build variables_hash (1 reply)

Upgraded from 1.2.9 to 1.4.1 and now started getting:[emerg] could not build the variables_hash, you should increase eithervariables_hash_max_size: 512 or variables_hash_bucket_size: 64Same...

View Article

listen directive (5 replies)

Hi.I've noticed that in configuratuion likehttp {server {server_name some.domain.tld;listen 1.1.1.1;}server {server_name another.domain.tld;listen 1.1.1.1;}server {server_name one_more.domain.tld...

View Article
Browsing all 7229 articles
Browse latest View live


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