Nginx ("engine x") is a lightweight, high-performance HTTP server, reverse proxy, TCP stream proxy and mail proxy, released under a BSD-like license.

learn more… | top users | synonyms

0
votes
1answer
694 views

(nginx) - Can't make OwnCloud work after restore (no images, style etc)

I've migrated my rig from Arch Linux to Debian stable and I've restored my old OC installation but now everything seems to be blown up. (see attachments) The desktop clients work flawlessly though. I'...
0
votes
1answer
158 views

nginx move proxy app from subdomain to folder

I want to move a ruby app from: app.domain.com To: domain.com/app Currently: server_name app.domain.com location / { proxy_pass http://localhost:9001; proxy_set_header ...
0
votes
1answer
280 views

How to enable phpmyadmin on virtual server in nginx?

I can access localhost/phpmyadmin but can't access www.project.com/phpmyadmin. 'www.project.com' is my virtual server. While trying to access www.project.com/phpmyadmin, it gave me 404 error. I've ...
0
votes
1answer
199 views

Nginx/uWSGI Flask app suddenly return 401

I'm kind of new to deploying uSWGI python apps behind nginx as a reverse proxy, but so far I have had no trouble at all. I have a small linode where I deploy all my python webapps simultaneously. As ...
0
votes
1answer
372 views

Nginx reverse proxy for Proxmox PVE Datacenter console

I am running Proxmox VE Datacenter console on the web behind an SSL protect NGINX proxy. Everything works great as long as I keep the Proxmox VE Datacenter console of the root (i.e.: https://my-site....
0
votes
1answer
56 views

nginx valid_referer for all files inside a directory

I have this config location /mirror/files { valid_referers none server_names example.com *.example.com; if ($invalid_referer) { rewrite ^/(.*)$ http://example.com/; } ...
0
votes
1answer
292 views

How do I properly chroot Nginx and uwsgi?

I have a pretty good idea of how to do this, I just wanted to make sure I wasn't going to be seriously screwing stuff up before I deployed it. I have a web application which uses uwsgi and nginx, and ...
0
votes
1answer
142 views

Server is not responding when single connection is blocked

I'm not sure how to properly specify this problem, I'm not really a server expert. I will be glad to provide additional data on demand. I have a PHP web-application running on Ubuntu Server with ...
0
votes
1answer
271 views

multiple ssl sites one ip nginx centos

This is a strang issue i'm having before I migrated to a beefier server I was able to host multiple ssl sites over one ip using nginx now when i enable ssl on any two sites it breaks and i get a ...
0
votes
1answer
209 views

Configuring multiple domain in nginx in one file

I am still newbie configuring nginx. Is it posibble to configure multiple domain in one file and they share mostly the same config? For example I want to configure two domains that based from one ...
0
votes
1answer
1k views

Cannot Start Nginx Compiled from Source

I am trying to compile Nginx from source based on the original compiled Nginx server running on my DigitalOcean server ( Ubuntu-14.04 64x ) but with a few extra modules. I can get everything installed ...
0
votes
1answer
1k views

Moving Zend Framework 2 from apache to nginx

I would like to move site that uses Zend Framework 2 from Apache to Nginx. The problem is that site have 6 modules, and apache handles it by aliases defined in httpd-vhosts.conf, #httpd-vhosts.conf &...
0
votes
1answer
270 views

kohana 3.1 in subdirectory + ubuntu 14.04 + php-fpm + nginx 404 errors

i have an old kohana app that i'm trying to put on my VPS but can't seem to get it working. i've spent hours googling and looking at cached forum answers. i have tried them all and nothing seems to ...
0
votes
1answer
895 views

Using 2 Transparent HAProxy for load balancing

We can configure HAProxy to be a transparent proxy by using the guide here, where one of the steps says ...to put the backend servers in a different subnet to the front end clients and make sure that ...
0
votes
1answer
479 views

Monitoring network output bandwidth of server for each IP address

I've got a network of static file serving servers. I use nginx to serve the files, and munin to monitor the network traffic. I want to know the output bandwidth of the server that goes to each IP ...
0
votes
1answer
200 views

Scalable django app, should message queue be located on load balancer or app server?

I've just architected my first scalable backend for a django app, however I put the message queue service (RabbitMQ) on the load balancer machine. I was able to siege some of my API routes with up to ...
0
votes
1answer
382 views

Nginx as a WebDAV server

I want to syncronise some of my applications across my server, because I do not really like to register on every service I use. I am using Nginx now, because I can do much-much more with that than ...
0
votes
1answer
198 views

Jenkins fighting with Django over permissions

I've got a Jenkins/Nginx server running. But I get the error from Django: attempt to write a readonly database So I solved this problem by changing the ownership of the project folder to the ...
0
votes
1answer
32 views

Nginx: index mapping

I'm trying to install Nging as a frontend server for HTTP requests but the welcome page does not work: server { listen 8081; server_name localhost; root /home/me/...
0
votes
1answer
359 views

Make an error page folder serve a 403 error to external requests

I'm fiddling about with a server, and I've made one of the subdomains a proxy for a service that isn't always up. The server block looks like: server { server_name servlet.example.org; ...
0
votes
1answer
397 views

Serving tens of thousands of directories in nginx, substring of http_host

We will be hosting static backup copies of 30k+ domains and would like to setup a directory structure and serve it dynamically via a single server {} block. We would like to avoid issues caused by too ...
0
votes
1answer
76 views

Slashes seperate arguments

Hello I have the following config in nginx: if (!-e $request_filename) { rewrite ^/([a-zA-Z0-9_-]+)/ /$1.php; rewrite ^/([a-zA-Z0-9_-]+)/([a-zA-Z0-9_-]+)/([a-zA-Z0-9_-]+)/ /$1.php?$2=$3; rewrite ^/([...
0
votes
1answer
335 views

OpenVPN client breaks remote access to web server

I have an issue where whenever I use OpenVPN client to connect to the remote server to (obviously) set up a VPN tunnel, I can no longer see my nginx server. I can connect on the local network but it ...
0
votes
1answer
312 views

ngnix vhost setting (with apache) not pointing to my domain

i'm trying to use nginx as proxy for my apache all vhosts. i've set up a config file at /etc/nginx/sites-available/mydomain and i'also created sym link by using a command ln -s /etc/nginx/sites-...
0
votes
1answer
112 views

Nginx not catching subdomain

I have added a subdomain: http://vma.ottawakaraoke.com/ However it is serving back the root of an entirely different subdomain. Its serving up the content from http://summitent.ca/ - a totally ...
0
votes
1answer
192 views

nginx + php-fpm + v8js crashing

I have a problem concerning v8js extension for php. I needed to install it on my server (and did) (CentOS 6.5, Nginx 1.0.15, php 5.5.12) but whenever I give such a simple test to it: http://pastebin....
0
votes
1answer
1k views

Howto rewrite URLs with two nginx as reverse proxies to gunicorn/Django

I have a Django application, deployed with gunicorn on port 8000, on a VM with a backend nginx, port 80, on the same VM. The nginx config is: location / { proxy_http_version 1.1; ...
0
votes
1answer
989 views

How to redirect nginx to tornado backend running https

I have nginx running as my main web server but I also have a tornado server running https at 127.0.0.1:8888 (same machine as the nginx server). I would like to redirect traffic to my tornado server ...
0
votes
1answer
134 views

browser downloads site page on nginx server

I have a wordpress copy on nginx on my localhost. when I wants to open it with browser, the browser just downloads a php file and does not open the site. my /etc/nginx/nginx.conf file cotains: user ...
0
votes
1answer
255 views

php-fpm and nginx super fast and timeout responses together

I'm having some problem with my server: Ubuntu 12.04 nginx 1.4.6 2GB RAM OpenVZ VPS I increased php-fpm settings as the default one was very low. To something like this: pm.max_children = 48 pm....
0
votes
1answer
187 views

Use hostname for set_real_ip_from in Nginx

How to use hostname and not directly IP for set_real_ip_from in Nginx? I have a reverse proxy which can change IP as it is restated (it is a Docker container), but I do not want to trust other IPs ...
0
votes
1answer
2k views

Update Cache-Control max-age when srcache returns response from cache

I have configured Nginx to use srcache (along with the redis and redis2 modules). Server-side caching works great. My application responds with the appropriate Expires and Cache-Control headers, and ...
0
votes
1answer
2k views

Nginx, second subdomain not working

I used the CNAME wild card DNS entry like: @ IN A ip.add.re.ss www IN CNAME @ * IN CNAME @ My root domain.com and sub1.domain.com are accessible (on the same digitalocean ...
0
votes
1answer
1k views

nginx reverse proxy with basic_auth - 404 Not found

I have an nginx server block to proxy_pass content from three servers: gitlab, Rshiny and static content from another nginx server block. All this works fine, until I try to add password protection to ...
0
votes
1answer
260 views

404 error with nginx and wordpress

My wordpress site has been working fine for sometime with nginx and wordpress. But for some reason it is now giving me a 404 error. I think this may be related to the quick-cache plugin which I ...
0
votes
1answer
376 views

Webmail is “Unable to make a secure connection to the server”

I am configuring a Ubuntu14/NGinX server and almost everything is up and running (phpmyadmin, ispconfig, etc). I installed Dovecot/Postfix/Squirelmail to establish a mailserver. I followed the 'the-...
0
votes
1answer
964 views

another php.ini for domain with nginx php-fpm working in fastcgi

I working with nginx and php-fpm and use unix:/cls/php-fpm.socket; I have enable xcache for hole server setting it in php.ini and want to disable xcache for 1 domain I did it with this in server ...
0
votes
1answer
31 views

Chromium wants to download a html page

An issue that happens much too often, but this time I can't find the way out: I have a Wordpress site using the following special permalink configuration: /%post_id%/%postname%/. Everything seems to ...
0
votes
1answer
609 views

PHP-FPM with Nginx not Working on port 80

I am trying out nginx on my Ubuntu 14.04 desktop, I have referred to some basic setup articles and have installed the latest Nginx and PHP-FPM from the apt repository. I have nginx working and can get ...
0
votes
1answer
1k views

Nginx alias or rewrite for Horde Groupware ActiveSync URL does not process the rpc.php file

I'm trying to setup a Horde groupware with Nginx. The webinterface works but I do not get the ActiveSync specific URL to work. The Horde Wiki explains how to use it with an Apache Webserver here. My ...
0
votes
1answer
238 views

How to make Nginx redirect without adding a tail string to redirected server

I have an Nginx that redirects to several different web servers based on URL path after host. My Nginx host is nginx.main.com current redirect rules are # Redirects for Math location ~ ^/...
0
votes
1answer
550 views

nginx points the sub-directory of an alias folder to the base directory

I am new to Nginx. Now I have a confusion on nginx configurations: My web site contains folders in different locations: location / { root /Path1; } location ^~ /download { alias /Path2; } ...
0
votes
1answer
359 views

Nginx possible bug with dashes (-) in server_name

The following Nginx (v 1.2.1) configuration server { listen 80; server_name aaa.example.com; root /var/www/aaa; } server { listen 80; server_name hello-world.example.com; ...
0
votes
1answer
1k views

Amazon EC2 Web server in Load Balancer gives 503

we've been running our web servers at Amazon with load balancer and auto-scaling for over a year with no problem. All of a sudden today the request began to get aborted with the error: 503 ... Backend ...
0
votes
1answer
668 views

nginx proxy folder to url

I have some sites I want to redirect with nginx: domain.com:1180 -> test.domain.com (static site) domain.com:1280 -> test.domain.com/promo (meteor.js website) On domain.com I have an nginx ...
0
votes
1answer
134 views

Restart individual rails apps in nginx+unicorn

I have 15-20 independent rails applications on the same ec2 instance. The rails applications are deployed using apache + passenger with Railsbaseuri. RailsBaseURI /games <Directory /home/ubuntu/...
0
votes
1answer
4k views

Nginx URL virtual host rewrite issues with Magento e-commerce. Help please

I've been running into some serious problems with my URL rewrites and I can't seem to fix it on my own strength and knowledge and troubleshooting on the web! Basically what happens is that when I ...
0
votes
1answer
89 views

NGINX SPDY client differentiation/determination

I'm having a question about determining if a client is capable of SPDY or just SSL. I'm having a setup of a NGINX load balancer and a few Apache backend servers and I'd like to redirect SPDY capable ...
0
votes
1answer
127 views

nginx multiple domains always give just the first domain

I need to support multiple domains with one NGINX instance, but always the first listed domain grabs the request. For example I have as below. But when a client requests beta.com, the nginx server ...
0
votes
1answer
395 views

What is wrong with my Nginx reverse proxy configuration?

I'm trying to set up an nginx server to serve a node.js application at myurl.com, while at the same time serve some php-content from myurl.com/phpapp/ I had the php application working with proxy ...