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

0
votes
0answers
6 views

PageSpeed Unicode characters file name

PageSpeed unable to interpret Unicode characters on file names. My problem is that some of the image files names have Unicode characters and Nginx is able to access them. This link is accessible ...
0
votes
1answer
15 views

How to use ssl everywhere except an endpoint

I have a Web site where I want all requests to be done with HTTPS except for requests to urls with paths that start with /out/. nginx is configured as proxy to serve gunicorn/django content from ...
0
votes
1answer
11 views

/etc/nginx/client_body_temp/0000000001" has written only

I have bare repository under NGINX + spawn-fcgi. Now I'm trying add local directory to remote Git: $ git init $ git add * $ git commit -m "Initial commit" $ git remote add zeus ...
1
vote
1answer
15 views

nginx in front of apache doesn't load images

i configured a nginx will run on 80, and Apache 8081 here is my virtualhost config: server { listen 123.123.123.123:80; server_name edm1.mydomain.com mydomain.com; access_log ...
-1
votes
0answers
7 views

Can't get xfilesharing with Nginx to work

Its been a week , i'm trying to get Xfilesharing script upload progress bar to works but i didn't succeed can you explain to me how to make it works with nginx upload progress model or can you tell me ...
0
votes
0answers
5 views

Custom error_page: Nginx gives 404, PHP sees 200 [migrated]

I'm trying to set up a custom error page. Any error code (400–599) should be routed through this page to display the error and the appropriate status code. Here's my server configuration: server { ...
0
votes
0answers
14 views

Nginx conflicting demands for host header

I'm trying to expose one part of my web server via one address, and another part via another. I feel like my use case should be simple, but nginx is giving me a lot of troubles. What I currently have ...
0
votes
0answers
17 views

Nginx: accept either basic auth or specific access token header

Is there a way with Nginx to restrict access to a location to either requests with valid basic authentication, or requests that feature a given header. Something like location /api { ...
0
votes
0answers
15 views

Wordpress and PHP-FPM slow

I cannot find answer elsewhere. I have plain vanilla Wordpress installation. No posts. Database completely empty. Server 1 is nginx + php-fpm Server 2 is mysql nginx & php-fpm set-up according ...
0
votes
0answers
9 views

backbone.js application for Jenkins

I have a task to setup the backbone.js application. I'm looking for a solution on how to setup the application for our running Jenkins: https://github.com/worldofchris/jenkins-radiator/tree/waf-mods ...
0
votes
2answers
7 views

NGINX with “serverpool” as the LB for DIFFERENT DOMAINS on same Apache Servers?

I have nginx as a LB. And the 2 Apaches as the web servers. Lets say i got different domains: www.example.com checkout.example.com Both domains will be in same 2 Apache Servers. But ofcoz under ...
0
votes
0answers
12 views

Is there an Apache2.4 module analog for nginx ngx_http_image_filter_module?

Can someone point me on how to implement image processing under apache2.4 in the same way as it's done with nginx? Currently we using nginx module named "ngx_http_image_filter_module" which allows us ...
0
votes
0answers
13 views

Nginx reverse proxy from subdomains to ports

This is my entire nginx.conf file worker_processes 1; events { worker_connections 1024; } http { include mime.types; default_type application/octet-stream; sendfile ...
0
votes
0answers
7 views

How to package nginx with custom modules for ubuntu server?

I need nginx with a few modules that are not included with the packages available via apt-get. I have no problem downloading the source from apt, changing the build params and compiling a .deb file ...
0
votes
0answers
6 views

Add persistent route in asus router [migrated]

I'm using Asus RT-N66U router as HTTP load balancer and reverse HTTP proxy. To do it I installed Download Tools from stock firmware and nginx server. I moved router's web interface out of 80 port and ...
0
votes
1answer
10 views

Nginx ignores expires headers for sub-directories

I've compiled and installed nginx on my server (Fedora 21 x64). I've added expires and some extra headers for static contents. But the thing is I nginx doesn't add expires and extra headers for root ...
-1
votes
0answers
12 views

phpmyadmin on nginx+apache not displaying png [on hold]

i have a running setup of apache(backend) + nginx(frontend) got 3 CMS running properly, but the site with phpmyadmin does not display pngs 404 Not Found here is nginx virtual host server { ...
-4
votes
0answers
12 views

Apache htaccess to nginx rewrite rules [on hold]

I need help converting Apache .htaccess rules to Nginx RewriteBase /dir/ RewriteCond $1 !^(system|application|robots\\.txt) RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d ...
0
votes
1answer
19 views

How to setup Gitlab-omnibus with non-bundled web-server?

Install I installed the gitlab package through the omnibus package on debian 7 (version7.8.1-omnibus-1_amd64.deb) ; change the settings as describe in Using a non-bundled web-server run the ...
-1
votes
0answers
23 views

NGINX on CentOS troubleshoot - 'ERR_CONNECTION_REFUSED'

I'm configuring an Nginx server and have hit a wall. Some help would be great. It's an EC2 instance running CentOS 6, everything was fine until the server was rebooted, now I get ...
0
votes
0answers
20 views

Nginx and Magento, some rewrites/redirects not working [on hold]

I migrated a Magento site that was running on apache https to nginx today, and it almost worked perfectly. The site in question is http://20products.com/ (you may need to flush your dns cache). The ...
0
votes
2answers
18 views

No VirtualHost filter (a good practice?)

I am trying to figure out the cons of a current setup and discovered a potential anomaly. There's a webpage hosted at (say) webpage.com. If I point my domain (say) mydomain.com to the raw IP of ...
0
votes
0answers
27 views

Nginx proxy pass url from get argument

Let's say I have server example.com with nginx. I want to make a proxy which will proxy pass URL given as part of request URI or GET parameter (it may contain query string). So e.g. I want nginx to ...
1
vote
1answer
24 views

How to Disable TLSv1.0 and TLSv1.1 in Nginx

I'm trying to figure out how to disable TLSv1 and 1.1 Nginx and ONLY allow connections on 1.2. This is for testing reasons more than in production use and for the life of me cannot figure out why ...
0
votes
1answer
20 views

How to uninstall default nginx on openBSD

I want to install a custom compiled nginx on OpenBSD, but I'm having problems running it because nginx is already installed in the default OpenBSD (5.6) install. In some way it is like I managed to ...
-1
votes
0answers
15 views

nginx $request_uri: no match against file with query string

I'm trying to set a specific variable in nginx if $request_uri contains something like file.php?foo=bar Here's my code: if ($request_uri ~* "/(file1.php|file2.php?do=check|some/path/)") { set ...
0
votes
1answer
14 views

Nginx location redirecting improperly

My nginx.conf: http { include mime.types; default_type application/octet-stream; # click tracking! access_log /var/log/nginx/nginx.access.log combined; sendfile on; tcp_nopush on; # ...
1
vote
1answer
44 views

Nginx and different versions of PHP FPM + PHP

Due to a better understanding of what I wish to achieve thanks to Mark and his previous answer, I am posting a (hopefully) clearer and slightly different variation of my previous question as that ...
2
votes
0answers
56 views

reverse proxy issues with nginx over apache2.4 hosting joomla: url rewrite does not work any more

I am setting up a joomla 3.x site with apache 2.4 on an ubuntu 14.04 server on aws ec2. That alone is fine with url rewrite working fine. I have cleared all apache issues before freeing the port 80 ...
0
votes
0answers
16 views

Can nginx generate an index of the other locations of the server? [on hold]

I have an nginx configuration, with several locations like so: server { listen 443 ssl; server name my.server.com; location /first/ { # config 1 } location /second/ { # config 2 ...
0
votes
0answers
13 views

From apache to nginx - problems with cookies

So I just switched from apache to nginx. Now I am trying to run an php application I wrote on the new server. The application will run from a subdirectory called rss. There is only one index.php which ...
-2
votes
0answers
13 views

Nginx: How to remove a custom domain

I have a nginx setup files of many domains in /etc/nginx/sites-available/. Each file points to different domain, and each has a symlink to /etc/nginx/sites-enabled/. Now, I have an old site which I ...
0
votes
0answers
13 views

nginx match language subdomains without server_name regex

I have the following two nginx configs server { server_name .domain.tld } server { server_name subdomain.* } Is there a way to match language subdomains (e.g. en.domain.tld, ru.domain.tld ...
-1
votes
1answer
19 views

SELINUX blocking php-fpm and nginx working together?

I'm having some issues with SELINUX. When trying to visit my website I get 403 forbidden from nginx and the server pops up with an error and says to use grep NGINX /var/log/audit/audit.log | ...
0
votes
1answer
8 views

Strange issue with Nginx compiled from source and Nginx from official Fedora repository

TL;DR Nginx, compiled from source, had trouble process .php files, while with the same PHP-FPM configuration, nginx , from official Fedora repository, worked like a charm on DigitalOcean 512MB Fedora ...
0
votes
1answer
16 views

Nginx does not stop with websocket connection

I have nginx 1.6.2 wih configuration to upgrade connection to websocket. proxy_set_header Upgrade $http_upgrade; proxy_set_header Connection "upgrade"; When no websocket connection is opened, ...
-2
votes
0answers
20 views

Web page not loading over 4g on some networks [on hold]

I have recently came over a weird problem with a website. We use amazon EC2 servers with nginx and mysql rds backend and load a balancer to distribute load across servers and the website loads fast in ...
0
votes
0answers
30 views

Nginx Configuration

I am trying to setup nginx web server for my web application. Below are the URL's I want www.example.com -----> /var/www/html www.example.com/backend/ -----> /var/www/app/backend/www ...
-1
votes
0answers
27 views

Change from Apache to Nginx in VPS using Plesk [closed]

I have a VPS running Parallels Plesk 12.0.18 Update#36 and CentOS 6.6. I'll like to move (if it's possible uninstall complete) Apache and let Nginx to manage all the request coming from outside (serve ...
1
vote
0answers
20 views

proxy parameters with nginx

I'm trying to use nginx to proxy a request with parameters to a shoutcast stream. I've tried a couple things but can't seem to get it working right. First try was this location /music/ { ...
-1
votes
1answer
82 views

Multiple versions of PHP through nginx

EDIT: For future reference Multiple versions of PHP through nginx Nginx and different versions of PHP FPM + PHP I am running Ubuntu 14.10 with a LEMP stack using PHP 5.5.12. I have a number of ...
0
votes
0answers
19 views

https to http reverse proxy on Jetty 9

Okay, so basically what I want to do is set up a reverse proxy to serve https pages on nginx and redirect them to Jetty using http. The problem is that the servlet actually requires https and ...
0
votes
1answer
29 views

Nginx not running with no error message (ubuntu 14.04 lts)

I am trying to start my nginx server. When I type "$> /etc/init.d/nginx start", I have a message appearing "Starting nginx: Ok", and then nothing happens. When I type "sudo lsof -nP -i | grep ...
-1
votes
0answers
31 views

Redirecting to maintenance page and banning IPs in nginx

I'm new to nginx and would appreciate it if you can offer assistance. I'm trying to first, rewrite all requests to server ip 1.2.3.4 to example.com/maintenance.html. I have put the following block in ...
0
votes
1answer
24 views

Nginx hosting with path appended to index.php

I'm hosting an instance on Concrete5, and in addition to using a dynamic paths, they also use URLs in the weird form of www.mysite.com/index.php/path/to/page. I have it mostly working, but I'm ...
0
votes
1answer
35 views

virtual host in nginx not working

I'm creating virtual host using nginx with following configuration: server { listen 7001; server_name example.com; location / { root html; index index.html ...
-1
votes
1answer
34 views

Wordpress is unable to write files, despite correct file permissions [closed]

I am unable to automatically install plugins or themes on my new wordpress setup. It gives me this screen: I believe this is usually due to a write permission error on the wordpress directory. ...
0
votes
1answer
49 views

FastCGI sent in stderr: Unable to open primary script

Situation: Server A & server B installed same Ubuntu 14.04, same nginx version (1.4.6), same virtual host (domain.com) and joomla folder (rsync-ed from server A to B) But server A only able to ...
0
votes
1answer
21 views

nginx retry static files once on 404

In my test scenario if a file is being created and someone requests the file 404 will be returned. i want to implement a retry once for that file. current configuration location /file/ { root ...
0
votes
1answer
63 views

Ubuntu + Nginx: directory index of “/var/www/app/my-app/” is forbidden

I keep hitting this error when trying to load up my Laravel application on an Ubuntu+Nginx server. The user should visit app.example.com/my-app and it should load the contents of ...