nginx (pronounced "engine-x") is a lightweight, high-performance Web server and reverse proxy as well as IMAP/POP3 proxy server.

learn more… | top users | synonyms

1
vote
0answers
10 views

simple Nginx config not working

i am a developer with absolutely no server experience, this project im working on is my first foray into the world of servers. Basically i have to host an API online, on a Linode server running Nginx ...
0
votes
1answer
13 views

How can I get nginx reverse proxy to work with java applet that checks document base?

So I'm trying to setup a reverse proxy with nginx to a java applet on remote server, but the problem I'm having is that it checks the document base, I can get it to load from ...
1
vote
0answers
13 views

Nginx Load Balancing proxy confusion

I'm currently trying to setup a load balancer for a bunch of download mirrors. While reading into this subject I saw Nginx lends itself perfectly as a load balancer, great! But when looking at the ...
0
votes
0answers
16 views

nginx open reverse proxy?

Somehow, and I'm not sure how, we have configured an nginx reverse proxy that is acting as an open proxy. The log files tells us the matching requests are going against the following conf file: map ...
0
votes
0answers
17 views

How to log uploaded files with nginx?

I want to log names (with full paths) of all uploaded files. Is is possible to do it with only nginx? os: CentOS 7.1 nginx: 1.6.3 Parameters for sending files in nginx.conf: sendfile on; ...
0
votes
0answers
9 views

Memcached vs Amazon Elasticache with PHP on CentOS 7

I setup a new CentOS 7 server in Vagrant to run PHP, nginx, MySQL (MariaDB) and memcached (note the d on the end). I can get memcached to run fine, but I can't get the Amazon Elasticache .so file to ...
0
votes
3answers
27 views

Nginx 301 redirect https to http

I have a strange issue with a trailing / I'm using nginx and it is functioning correctly with one small exception. I have the following site config server { listen 80; return ...
0
votes
1answer
17 views

How can I parse an nginx msec field in logstash?

I'm trying to handle an nginx access log in logstash. In order to get millisecond accuracy for my timestamps, I'm using the $msec variable. This means that timestamps will be of the form ...
1
vote
0answers
26 views

How to block fake google spider and fake web browser access?

Recently I found that someguys are trying to mirror my website. They are doing this in two ways: Pretend to be google spiders . Access logs are as following: 89.85.93.235 - - [05/May/2015:20:23:16 ...
-1
votes
0answers
14 views

How to disable httpd permanently in Centos 6 [on hold]

I installed NGINX in the server, which was earlier APACHE (httpd). Since i could not remove, erase the httpd via yum - i disabled it by, service httpd stop chkconfig httpd off But after a while, ...
-1
votes
1answer
18 views

How can I update nginx to lastest stable version?

I'm using a CentOS 6.6 Linux server and I have nginx 1.7.3 Installed on it . How Can I update Nginx to latest stable version (Nginx 1.8) ?
-1
votes
1answer
21 views

The server committed a protocol violation. Section=ResponseHeader Detail=CR must be followed by LF [on hold]

I've tested my website with mxtoolbox.com and got this message: Result: The server committed a protocol violation. Section=ResponseHeader Detail=CR must be followed by LF I've googled around ...
-1
votes
1answer
19 views

domain name not connecting to server [on hold]

I have a VPS and i have purchased a domain name, setakshop.ir. now what I wanna do is to bring up a website on the VPS and bind it to the domain name.I followed the tutorial from this link: ...
0
votes
0answers
23 views

Forge Nginx 404 Error

I have set up a Laravel 5 site via Forge (hosted on DigitalOcean). My problem is that when I enter either the domain or the IP address for the server, I get a 404 error. I can, however, SSH into the ...
0
votes
1answer
5 views

Mercurial ACL extension: allow all users on all branches except one branch which is only for specific users

I want to use the ACL extension in order to allow only the QA team to make pushes and commits to the stable branch, while putting no restriction on other branches. However, I don't see how to do that ...
1
vote
0answers
8 views

NginX proxy_read_timeout TCP connection status

When NginX is configured as a reverse proxy and gives up waiting for the following reasons proxy_read_timeout proxy_connect_timeout proxy_send_timeout it sends a 504 gateway timeout to the ...
-1
votes
0answers
21 views

Can't install PHP-FPM in CentOS 6.6, using repositories too [on hold]

I don't know what is happening, using repositories too - i can't install PHP-FPM in my CentOS 6.6 Server. Also i created a file /etc/yum.repos.d/nginx.repo with the below code, [nginx] name=nginx ...
-4
votes
1answer
12 views

url forwarding in nginx

First time using nginx. I want to forward any incoming request which looks like this: https://www.example.com/elasticsearch to http://localhost:9200 with nginx. I wrote following in my nginx config in ...
1
vote
1answer
24 views

No write permission for Wordpress under Nginx in CentOS 7

I have a CentOS 7 machine with Nginx running and the user is "nginx" (tghe default one in CentOS). I've installed Wordpress, which is working perfectly, and I've give wrtite permissions for nginx user ...
1
vote
1answer
48 views

Nginx 1.8 Configuration Problems

Here is the problem : (I'm new to NGinx, read about it, but didn't find my working solution yet.) I'm on a Windows system. My projects file system is located there : E:/www/ here is a project ...
-1
votes
0answers
12 views

I need help configuring a raspberry pi server with nginx [on hold]

I have everything set up, and can even access my website while directly linked to my lan. I cannot, however, access it outside my network. I've read through many many tutorials and forums, but have ...
2
votes
1answer
41 views

nginx goes to the wrong site when requested site is not listening on port 80

I had both production (www.myexample.com) and development (dev.myexample.com) on a single server, using server blocks and separate directories, with both listening on port 80. This worked fine. Now ...
0
votes
0answers
32 views

Nginx 403 Forbidden Error After Basic Auth [on hold]

I created auth for protect my phpmyadmin. But If I enter right login details, its shows me 403 forbidden. sudo nano /etc/nginx/conf.d/default.conf location /phpmyadmin { auth_basic "Admin ...
-3
votes
1answer
23 views

Unrecognized Service Nginx ERROR [on hold]

I freshly created droplet on digital ocean, centos 6.5 64 bit. I did all things below. After make install, it seems like nginx doesn't installed my server. I am getting Unrecognized Service Nginx ...
0
votes
0answers
47 views

In Wordpress, why the domain name is changed by the IP address? [on hold]

Today I have installed and configured a Wordpress in a new hosting. I changed de WP_HOME constant with the domain name and everything seems to be well done, all the links are pointing to ...
2
votes
1answer
34 views

nGinX Forbidden still triggers request limit

I have some "deny" rules before the request limit config. If a blocked user (by the deny rules) is ddossing the site he still triggers the request limit and therefore creates thousands of log entries. ...
-1
votes
0answers
22 views

dynamic sub-domains: advice needed (debian 8 running NGINX)

I need your advice regarding architecture. Say I have a domain mydomain.com I'd like to have dynamic sub-domains: *.mydomain.com I will need anything that's not www.mydomain.com to be routed to a ...
6
votes
2answers
30 views

Does Nginx `if_modified_since` only work on static resources?

I can't seem to find enough documentation. I have an app that generates some dynamic responses, but could still benefit from the Last-Modified header -- so I send it. However, turning on ...
1
vote
0answers
13 views

nginx: Use geo module with allow/deny directives

Reading nginx's ngx_http_access_module's documentation, I came across this: In case of a lot of rules, the use of the ngx_http_geo_module module variables is preferable. How can I use allow/deny ...
1
vote
0answers
22 views

Varnish keeps getting MISS when Nginx is backend server

I am experiencing a really weird situation where Varnish works fine with hitting directly to application server (Play server), but not working with Nginx as web sever. Working: Varnish:6081 => ...
-2
votes
0answers
12 views

Ubuntu + Nginx + Mono [on hold]

Can anyone help, how do I setup Mono web server to process my web services. My .aspx web pages are served properly but when I try to execute a web service than its gives me 500 Internal Server error. ...
1
vote
1answer
26 views

FastCGI cache is always a MISS

So, I've setup FastCGI cache like this: location ~ \.php(/.*)?$ { fastcgi_cache RWI; fastcgi_cache_valid 200 60m; set $nocache 0; if ($request_method = POST) { set ...
0
votes
1answer
23 views

Nginx SSL cant connect to site

I just bought a SSL certicate for my website and tried to get it working with my nginx install, but uppon connection the browser refuses the connection with the website. Here is the relevant part of ...
0
votes
0answers
11 views

nginx sends 404 instead of waiting for fastcgi

Our nginx is configured to send thumbnails from a folder. If they don't exist, nginx has to pass the request to fastcgi to generate the thumbnail and send it to the user. If the requested doesn't ...
1
vote
1answer
13 views

Redirection with subdirectories urls in Nginx

When with my browser, I do a call to http://myhost/tiles/yellow/1/2/3.png, I would expect to get content from http://myhost/cache/yellow.png My configuration is the following location /cache/ { ...
8
votes
3answers
118 views

How to make redundant load balancers?

I understand that the purpose of load balancers is to balance load between your servers and keep track of instance health, etc. But what if load balancer itself fails? How do you set up redundant load ...
3
votes
0answers
29 views

Protect Piwik on Nginx with basic authentication, but allow access piwik.js

I got nginx running on my server and recently installed Piwik with this config: server { listen 443 ssl spdy; server_name analytics.example.org; root /srv/www/analytics.example.org; index ...
-3
votes
0answers
29 views

error 404 new installation of wordpres in localhost with nginx hhvm

I have problems with wordpress and nginx on localhost. The phpinfo test runs within the default folder nginx user,,,, When I try to install wordpres says, error 404 If I make a test page ...
0
votes
1answer
16 views

Nginx refuses to read new directory in /home

I'm on CentOS6.6, installed "Akeneo" and all went well. Installed into /home/pim so the actual location for nginx to use is the web directory where app.php is located. Doing a namei on ...
1
vote
0answers
26 views

Change Nginx document root from /usr/share/nginx to /etc/nginx

I've tried many things, STFW, RTFM but I still have this problem. The thing is: I have a Nnginx installed in an AWS machine (other fella installed it, not me) and I MUST serve several virtual hosts ...
-3
votes
0answers
16 views

Can Nginx Web Server beat Apache's Performance and Reliability? [closed]

I need to run my website on the Nginx server before I wa using Apache , PHP & MySQL framework, nowadays heard of this Nginx , I need to run 3 Web sites which is having web application & hell ...
0
votes
1answer
28 views

Two differents directories with Nginx

I have two directories on my server, the directory1 with others directories inside, and the directory2 with a single file index.php. I want to access to my index.php with http://server/ ...
-1
votes
0answers
15 views

Nginx ip_hash load balancer and external auth via SAML2

We are trying to make work a system, consisting of two application hosts and one nginx load balancer before them with ip_hash balancing method enabled. The problem is that we need to use an external ...
2
votes
1answer
25 views

configuring ssl on nginx - is this ciphers list up to date?

I have bought a certificate from Comodo and I'm following an article on their site on how to configure the certificate on my nginx. The question is, is this configuration, mainly the ciphers list, up ...
-2
votes
0answers
16 views

How to know if nginx is running or not using this ps statement? [closed]

I am trying to test if my nginx is going to run automatically on startup or not. These are my config files /usr/local/etc/nginx/nginx.conf: worker_processes 1; events { worker_connections ...
0
votes
0answers
30 views

Nginx TCP Fast Open Issue

I have configured Nginx and Apache on one of my servers. The nginx server listens on port 80 and Apache on port 81. Nginx works as a reverse proxy. In nginx I configured TCP Fast Open: server { ...
0
votes
1answer
22 views

Unable to open JPEG files with Nginx

I am serving a static page with assets. Unfortunately i am not able to open images, whereas JS and CSS files are going through quite fine. I simply receive 403 (Forbidden) when trying attempting to ...
1
vote
1answer
27 views

No Input File Specified with Nested Docroot

I have the following nginx config for 2 different domains: server { listen 80; root /srv/users/serverpilot/apps/myapp/public; index index.php index.html index.htm; server_name ...
0
votes
0answers
15 views

Nginx extensionless PHP rewrite not working

I have been trying to rewrite my php pages so that they display without their extensions in the browser. For example, a link on my server at www.example.com loads a page called about-us.php and in the ...
1
vote
0answers
21 views

nginx rewrite with php interpreter [on hold]

First off, Im new to nginx, I'm switching from apache. I setup a server using the ajenti control panel. I got php working just fine. however when I try to do a rewrite rule I get some strange ...