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
8 views

Varnish, some url's redirecting to :8080 in phpbb?

I'm using a LEMP server with Varnish so nginx is on :8080 and varnish is cached on :80. The mail site works brilliant, no redirects etc but in a sub folder I have a phpBB forum installed, some of the ...
0
votes
0answers
15 views

Multiple Server_name

I have an internal php application that kept freezing on users basically every afternoon. I used to restart the application(docker) and that would relieve the issue for a day but not resolve it for ...
0
votes
0answers
12 views

Can NGINX instructed to serve a file over HTTP that is in the process of being created?

I am using NGINX as a component in my system that accepts content streamed from clients (lets say, over RTMP) and passes it to some internal service for processing. The internal service fetches the ...
0
votes
1answer
11 views

Nginx rewrite *.domain.tld/page to domain.tld/page

I can not set up a redirect from *.domain.tld/personal to domain.tld/personal server { server_name domain.tld www.domain.tld *.domain.tld; listen 100.10.10.1; set $root_path ...
0
votes
0answers
6 views

How to work whit socket_file httpd (nginx-uwsgi)

I am trying to run Nginx/uWSGI/Django, the last remaining step is to run the socket_file all I get is a 502 Bad Gateway. Route my django application. #/home/deploy/webapps/myapp Configuration ...
0
votes
1answer
27 views

Enable caching on nginx

I have my own VPS with CentOS 6 and nginx and I want to enable caching. To test it, if it is enabled successfully I use the Google PageSpeed Insight. My problem is that I don't have much experience ...
0
votes
1answer
12 views

403 Nginx issue, serving files from /home/user/localhost

I'm trying to serve files from a directory called localhost under my home. In my server block I specified root /home/user/localhost If I change nginx user from http to my username it works but I ...
0
votes
1answer
20 views

High %sys utilization in Nginx cache node

We set up Nginx with Lua (openresty bundle) to be a local caching node to our file sharing server, we seperated files to chunks "50MB each" (by this method) and store them in cache to increase its ...
0
votes
0answers
11 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
0answers
31 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
13 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 ...
-2
votes
0answers
10 views

Can't get xfilesharing with Nginx to work [on hold]

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
20 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
25 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
20 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
10 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
8 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
15 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
9 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
12 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
25 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
24 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
25 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
31 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
28 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
21 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
19 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
46 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
60 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
15 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
14 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
20 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
19 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 [closed]

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
29 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
84 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
23 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 ...