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

Custom 400 error for client-certificate-authenticated site

Hi everyone,I'm using nginx as a Proxy SSL front-end for an application, to encapsulate the security features that the application lacks. The site has to authenticate users with a personal certificate....

View Article


Accessing site problem

Hi,I'm having problems accessing an nginx hosted site. On the server hosting the site, i can ssh in and run;w3m http://localhost/mysiteAnd everything works OKBut when i try to access the sitre from...

View Article


Re: Accessing site problem

Hi,I found the answer to my own question. Posting here incase others have same issue.The solution was to alter the listen server setting in /etc/sites-enabled/mysite to be;listen *:80...

View Article

Replacing response header "Connection"

Hello all ! )I have a some problem and can't find any working decision for it.The problem is follow:we have some portal working under JBOSS and we use NGINX as front-end. We configure NGINX for using...

View Article

Flood HTTP from random referrer

Hello,I don't know if I misconfigured Nginx or if it's a kind of DDOS but my server is spammed with requests like that :84.208.117.194 - - [02/Jul/2013:11:12:46 +0200] "GET / HTTP/1.1" 499 0...

View Article


upstream prematurely closed connection while reading reading response

Hi guys,I have run into an odd problem on my nginx server which I am unable to solve. I have searched almost everything on the google but nothing seems to be specific to my problem or just doesn't...

View Article

HttpSecureLink limit by IP

Any chance to protect file(link) by users IP address...My nginx.conflocation ~ \.flv$ {secure_link $arg_st,$arg_e;secure_link_md5 segredo$uri$arg_e;if ($secure_link = "") {return 403;}if ($secure_link...

View Article

Websockets and ws url

Does nginx support the websocket url format? if I try to do "proxy_redirect ws://arcweb.cyber/websocket http://websock;" nginx complains. What I need to happen is all traffic comes in on port 80 but if...

View Article


Nginx MP4 streaming

Have problem with mp4 streaming, flv working fine and can seek in player, but when i try seek mp4 in firebug have internal 500 error...here is my nginx.conflocation ~*...

View Article


NGINX As a log for massive requests

Hi all,i'm very new to NGINX.I have a site and i want to count each time a user enters it.Instead of keeping a counter on my site's server that will go up each time i serve a page i want to send add to...

View Article

Re: Restricting ALL /administrator folder

No one has an answer to this question totally?

View Article

Re: Restricting ALL /administrator folder

I think I was able to figure it out ...I have used:location ~*/(admin|administrator|wp-admin) {

View Article

Importing perl modules " URI::Escape","URI::Encode"

Hi,I want to call perl modules ,'URI::Escape' and 'URI::Encode' . I tried to call these modules with the following configuration. However, error occurred."Configuration"perl_require URI::Escape;...

View Article


SSL Reverse Proxy issues

So I have a nginx.conf file that has multiple server blocks in it and they all are working except this one, and this one is half working so I assume I'm just missing one thing. Basically what happens...

View Article

No caching static content.

I have some WCF-service on caching of images for our portal.http://images.example.com/ImageProxy.ImageProxyService.svc/Image/Original/?uri=http://www.example.net/image.jpgwhere:[Original, Small,...

View Article


nginx closes fastCGI connections

I have fastCGI server and it detects that from time to time nginx closes connection to server. I detect it only during writing response.Whta can be issue?

View Article

Nginx as proxy to Node.js - weird issue

Hi,I have nginx set up as proxy to node.js for long polling like this:location /node1 {access_log off;log_not_found off;proxy_pass http://127.0.0.1:3001/node;proxy_buffering off;proxy_read_timeout...

View Article


Re: Nginx as proxy to Node.js - weird issue

I turned on logging and it seems that the failed requests do not even appear in the access_log as if the nginx never received it. So the case is that:querying node.js directly like:curl...

View Article

Nginx 1.4.x vs 1.2.x

So, I'm trying to make heads and tails of the different nginx verisons.On the download page (http://nginx.org/en/download.html), I see that 1.4.1 is the current stable version, and 1.2.9 is the most...

View Article

location match help

HelloI am new to nginx. Please help me to set up following configurationThe root folder for site.com is /var/www(root /var/www)But when somebody open http://site.com I want to load contents from...

View Article
Browsing all 4759 articles
Browse latest View live


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