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

404 Not Found error in deploying rails 3.2.12 app (with engines) to SUB URI...

We need to deploy a rails 3.2.12 app to sub uri nbhy on a ubuntu 12.04 server. The rails app has 3 engines and one of them is authentify which is for user authentication. The main app's root pointing...

View Article


Nginx location directive to transform url into a query string

I need to show the user information using the link type:http://mydomain.com/username/within the system of query should look like:http://mydomain.com/users/?username=usernameQ: How to convert (handle)...

View Article


Question :disable port 443 for non listed virtual hosts.

Hello there.I use nginx 1.4.1 from 1-2 weeks and i'm realy happy with it. I have the following question.I have configured 4 virtual hosts (servers).First is default_server which is for all...

View Article

Re: Question :disable port 443 for non listed virtual hosts.

Found a solution.Addedif ($host != $server_name) {return 444;}now every host that is configured/non-configured will be returned to 444 if there is no setup for SSL.

View Article

Can't get phpmyadmin to work with nginx on Arch :(

I am new to nginx. I have always used apache. So maybe I don't know enough about nginx to make this work. I am no newbie to arch though.I have tried EVERYTHING. Also I have thoroughly searched the...

View Article


Re: Can't get phpmyadmin to work with nginx on Arch :(

Problem resolved. Needed to add index.php to locations in the server block.

View Article

Re: -s reload access denied?

I have the same problems with 1.4.1:d:\nginx>nginx.exe -s reloadnginx: [error] OpenEvent("Global\ngx_reload_3040") failed (5: Access is denied)any ideasregardsdittsche

View Article

Re: Question :disable port 443 for non listed virtual hosts.

Be aware that the server will disclose the identity of a hosted site to any non-SNI compliant browsers via the certificate, because of the way that the SSL negotiation works (see wikipedia:...

View Article


Re: Cloudflare and allow/deny for other hosts

shayol Wrote:-------------------------------------------------------> Up, sorry for necroposting but i need a solution about it. The problem> is the same.>> I want that nginx serves ONLY...

View Article


Help, there are a lot of "110: Connection timed out" and "104: Connection...

Hi, I'm new to nginx. I am using nginx as a reverse proxy to access the tomcat. visiting by 1100 concurrent threads, the nginx can't run correctly. there are a lot of "110: Connection timed out" and...

View Article

proxy_redirect based on path

Hi,I have a Nginx as a reverse proxy for my Java application. The Nginx is configured with SSL to communicate with the outside and talk plain http with my Java application. This means that the...

View Article

Re: proxy_redirect based on path

Hello, try adding another location block, i.e. location /oauth { proxy_pass.....

View Article

Re: proxy_redirect based on path

That solved my issue! I was actually doing that at first, but the configuration didn't bite with nginx reload. Thanks a lot!

View Article


nginx conf access rule blocking certain url's

We have url's like this: /demand/change_db_value/18050/13/.80/0/costNotice the /.80In our nginx conf for our site we have this access rule: location ~ /\.ht { deny all; log_not_found off; access_log...

View Article

Nginx conf not working all of a sudden. What is the proper way to write this?

First of all, let me state that I am brand new to nginx and I have not yet gotten to that point where I am able to diagnose issues on my own. So I am hoping one of you guys will be able to help me...

View Article


Re: nginx conf access rule blocking certain url's

Try matching to the start of the URI, i.e. location ^/\.htaccess {...

View Article

Re: Nginx conf not working all of a sudden. What is the proper way to write...

try running "nginx -t", it will give you more info on the cause of the failure.

View Article


Removing port from fastcgi redirects

I'm having an issue where some redirects on a website have the proxy-pass port included, rendering them useless. My configuration is as follows:Physical server 1:server {server_name example.com...

View Article

Insert Ad's in free internet traffic.

Hi folks,I don't mean to sound evil. I am trying to give free internet to my users and want to insert ad's in the internet traffic. Hoping the revenue will help support free internet. I want to use...

View Article

Help:nginx1.3.8 with SPDY as reverse proxy, running on SUSE linux, but some...

Hi all:I used Nginx1.3.8 with SPDY but did not use ssl (I have modified source code to support it).Nginx server is used as reverse-proxy ,backend is Varnish as cache server.I access Nginx with chrome...

View Article
Browsing all 4759 articles
Browse latest View live


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