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
0answers
54 views

“double reverse proxy” from apache 2.4 to nginx to final destination ssl secured rocket.chat

I have two servers with webapplications behind one firewall. So only one can get natted the 80 and 443 ports. On the second one, which does not get the ports natted, I installed rocket.chat. The only ...
1
vote
1answer
33 views

Nginx as reverse proxy with IBM Websphere upstream

I have an IBM WebSphere serving multiple domains: x.x.x.x:8080/app1 x.x.x.x:9090/app2 ... I need to configure Nginx as reverse proxy to serve: app1.example.com app2.example.com Here is my config but ...
2
votes
1answer
31 views

Nginx rewrite filename as a directory

I want to rewrite a file name membership-list.html as a directory on the root domain as membership-list/. I had this in my config file: location = ^/membership-list.html { rewrite ...
0
votes
3answers
72 views

restart php5-fpm from php script

Ok, this is a tricky one (I think) I need to reload php5-fpm from a php script The obvious issue is that once the reload command is executed, the current script is disturbed, I tried to delay the ...
1
vote
0answers
27 views

Ghost With Nginx Only Works on Port 80

I've been struggling to get this fixed since yesterday. I've done a lot to try and resolve it and still nothing seams to work. I am trying to install NodeJS with Ghost and use NGINX as a reverse proxy ...
3
votes
2answers
144 views

Nginx + Wordpress in subdirectory

I have recently migrated our home site to ASP.NET Core 1.0. This allowed me to move website in linux environment. We also have /blog under this site which is a wordpress blog. All migrated properly ...
-1
votes
1answer
24 views

NGINX forward not working

I have nginx installed on my Centos 7 box and would like to forward calls to my kibana installation on port 5601. Kibana is up and running and am able to browse to it by by appending the port to the ...
0
votes
0answers
50 views

PHP/FastCGI: Is “&QUOT” the cause of fatal error?

I'm trying to set up Wallabag, a PHP application, for the users on my site. This is one of a number of PHP applications running on a LEMP setup with PHP 7.0 (default on Ubuntu 16.04) When I visit ...
0
votes
2answers
12 views

Troubleshooting a Web Server with Timeouts?

Have a slightly strange situation that seems like a weird DNS issue. Have a simple office website which has a very simple admin portal type area for staff to login to, and closed off by simple ...
0
votes
1answer
18 views

About second-level domain names corresponding to nginx server blocks

There are 2 second-level domain names and 2 corresponding folders,like this: domain name folder 111.aa.com /var/www/111.aa.com 222.aa.com /var/www/222.aa.com In nginx.conf,there are 2 ...
1
vote
1answer
115 views

porting RewriteCond %{QUERY_STRING} from Apache2 to nginx

I made a static mirror of a large PHP-based website, using the following Apache2 rewrite stanzas gets the query string into the filesystem path to serve the static files correctly. Old dynamic url ...
0
votes
1answer
25 views

How to set an owner and access mode for Nginx unix socket?

I'm running nginx with listen unix:/tmp/foo.sock;. Unfortunately, that socket is owned by root and world-writable/readable: srw-rw-rw- 1 root root 0 Apr 11 00:37 /tmp/foo.sock While I'd like it to ...
0
votes
0answers
25 views

Catch URIs without [.] (dot) and with dot

Until now I used mod_rewrite in Apache to redirect all URIs with dot [.] in URI to separate folder and all other URIs to index.php. I am now trying to do the same in NGINX, but I am failing for ...
1
vote
0answers
12 views

Why my Wordpress is trying to connect to an strange url? [duplicate]

I'm managing a Wordpress site and in the lasts months an strange 502 Bad Gateway error has been appearing. I enabled the log and discovered that it tries to access to strange urls like: gd-join.com ...
0
votes
0answers
78 views

How to monitor request timeouts/drops between IIS and nginx

An NGINX reverse proxy is load balancing multiple Windows IIS/ASP.NET servers. Let's say the servers are under heavy load and might drop connections/requests. I see upstream timed out errors in ...
0
votes
1answer
64 views

nginx reverse proxy get time-out response

Am getting The connection has timed out after configuring a reverse proxy to some internal server. Knowing that if i run wget i get 200 OK response and the correct page is downloaded. [root@web1 ...
0
votes
0answers
26 views

Nginx - How to get the ip addresses from limit_req_zone?

Using the following configuration in nginx limit_req_zone $binary_remote_addr zone=delta:8m rate=10r/m; error_page 404 /404.html; location = /404.html { limit_req ...
-2
votes
1answer
39 views

Binding multiple IPs to one NIC [closed]

I'm trying to set up an ubuntu 14.04 server to listen on multiple IP addresses. A range has been assigned to the server (X.X.X.146/29) and ip addr show confirms that this is how eth0 has been ...
0
votes
0answers
25 views

Nginx charset not working

I am using easy engine as my server i.e. nginx and setup with defaults, but when i goto my site for text/html the content-type does not show charset it shows up for everything else, this is bugging ...
0
votes
0answers
64 views

NGINX server_name configuration

I have setup my NGINX server and got the necessary ssl certificates for having a TLS/SSL connection Am working with an API that posts data to my server. For security the API requires mutual ...
-1
votes
1answer
26 views

whats is nginx location blacklist

What does location @blacklist means ? location @blacklist { proxy_redirect off ; proxy_pass https://ip-address:1500; rewrite (.*) /mancgi/ddos break; proxy_set_header Host $host; ...
0
votes
0answers
128 views

Java AWS Server: 502 Bad Gateway nginx/1.8.1

I am getting the 502 bad gateway error after uploading my application via Eclipse and I don't understand why its happening? I created a Sample Application through the AWS Elastic Beanstalk Console. ...
0
votes
0answers
25 views

open_file_cache causes slow response every x times

I'm testing a server on t2.micro ec2 I set this in nginx.conf open_file_cache max=2000 inactive=20s; open_file_cache_valid 60s; open_file_cache_min_uses 5; ...
0
votes
1answer
28 views

Why rewrite doesn't work in nginx

I have the following server configuration: server { listen 7777; server_name localhost; rewrite ^/standardlib/(.*)$ /standardlib/src/main/webapp/$1 last; location / { ...
0
votes
0answers
54 views

PHP7 “fails” Intermittently - 502: bad gateway

I am running Ubuntu 14.04 with PHP7.0-fpm (from the Ondrej/php PPA). PHP now randomly fails, and by fail I mean serving a 502/504 error, the processes themselves are still running. It is sitting ...
0
votes
1answer
34 views

how to open index.php instead of index.html on nginx server?

Nginx server open index.html by default how to change that to index.php ? when i type my server ip it opens index.html instead of index.php there is no index.html file on server but there is ...
1
vote
0answers
50 views

Nginx with http2 and ios WKWebView

We are running nginx on a debian system as our loadbalancer nginx version: nginx/1.9.10 built with OpenSSL 1.0.2e 3 Dec 2015 (running with OpenSSL 1.0.2g 1 Mar 2016) We had http2 activated in our ...
0
votes
1answer
66 views

CentOs 7 Nginx (13: Permission denied) while loading font file from css

I have an nginx webserver with bootstrap js framework. I am trying to get the css to be able to load the font files. Although i get error 403 when the browser is trying to access the font files. I ...
0
votes
0answers
30 views

Nginx - Redis Server issue

I have an Ubuntu 14.04 VPS with multiple WP sites running in Nginx (Used this tutorial: https://deliciousbrains.com/hosting-wordpress-setup-secure-virtual-server/) When enabling Redis Server somehow ...
0
votes
1answer
77 views

Nginx connection to upstream apache: Re-negotiation handshake failed

I'm configuring new nginx server which will be used as reverse proxy. We have older Debian server with apache up and running. On this apache server is site with https only access I want to hide behind ...
0
votes
1answer
50 views

Nginx server block is not being picked

I have created a new subdomain and updated the following vhost configuration file but nginx still picking the default one (the first server block) Knowing that both blocks listen to same IP:PORT !! ...
0
votes
1answer
42 views

Problems with GoDaddy DNS masking and html viewport

I set up a DNS masking for my GoDaddy domain so that my Amazon EC2 url wouldn't be shown to the user. Instead of the original index.html returned by Nginx the user now gets it wrapped in some GoDaddy ...
2
votes
0answers
43 views

Nginx: How To Completely Disable Request Body Buffering

I'm trying to set up Madsonic on my Ubuntu box and have Nginx run in front of it. Problem is, I keep getting this warning when I try to upload stuff through the web interface: 31115#0: *14 a client ...
0
votes
1answer
15 views

How to force connection only from hostname to specific ports?

I'm running a few dockerized applications on a Digital Ocean server behind an nginx reverse proxy, this one to be exact: https://github.com/jwilder/nginx-proxy. I have it configured so that ...
0
votes
0answers
8 views

Munin not updating graph, plugin works(Nginx)

This morning i had the great idea to update my nginx instal from dotdeb to the official repo, it worked, but around that time some of the munin nginx graphs have stopped working and i don't know why, ...
0
votes
2answers
39 views

nginx+fastcgi+php-fpm step from standard config = 404

I want to work simple url like http://host/test.php, note there are no trailing / at the end. I start from standard config from nginx site + serverfault: location ~ [^/]\.php(/|$) { ...
0
votes
1answer
115 views

Lets Encrypt with an nginx reverse proxy

Introduction I have a dev server (currently running Ubuntu 14.04 LTS), which I have been using for a while now for hosting various development tools on different ports. Because the ports can be hard ...
0
votes
0answers
17 views

Exclude or change package used as dependency in rpm package under CentOS

I have an RPM package that depends on many other packages, so installing it will install everything I need - quite a normal approach. But one of the packages depends on custom nginx build (general ...
2
votes
2answers
169 views

Setup nginx for owncloud and other services on the same server?

Right now I have nginx working with 3 services: 1. My webpage on my.example.com/~ignacio, my Rstudio server on my.example.com/rstudio, and my Shiny sever on my.example.com/shiny. This is my config ...
1
vote
1answer
22 views

How to obtain hostname of request nginx

Hello I am trying to redirect all my requests to use https. I have created a server block that listens on port 80 (http) and I want to redirect the user to use https:// however I am unsure how to ...
0
votes
0answers
10 views

NGINX listen'ing on sub1.domain.tld:port traps ALL requested sub-domains on this :port?

nginx version: nginx/1.9.3 (Ubuntu) I'm trying to figure out why NGINX seems to ignore limiting to a hard-coded subdomain when :port is in play, as in the following. Note that :4444 is only ...
1
vote
0answers
43 views

nginx SSL client certificate handshake very slow for domain and paths

I have a server with some subdomains publicly accessible while on one subdomain a client side certificate is required. Not only that, paths on that subdomain point to different applications. I.e that ...
0
votes
1answer
16 views

How to properly set up access_log for nginx cache

I am trying to properly set up logging for nginx as a reverse proxy for Apache so that I can see IPs in all log files not just the domlogs In my vhosts file I use: access_log ...
0
votes
1answer
20 views

Nginx: Googlebot Gets Temporarily Unreachable For Some Images

I use nginx as a reverse proxy. When I try to fetch my site using "Fetch as Google" I receive what looks like a 404 for some CDN-hosted images entirely randomly. Most load and render fine, but some ...
0
votes
0answers
42 views

Can't enable TLSv1.2 on nginx on a FreeNAS jail

I'm quite new to the FreeBSD environment, I'm quite used to the Linux one. I've created a jail in FreeNAS 9.3 and installed nginx with ssl support following several online resources (googled "freebsd ...
0
votes
0answers
29 views

Sef, Joomla 3, PHP 5.3.3 (fpm-fcgi), nginx 1.4.2

The server hosting two virtual host. Each of them must be reached at http://www.pincopallino.it (VH1) and http://www.pincopallino.it/Ufsoit (VH2). Everything works correctly if not active SEF form , ...
0
votes
0answers
29 views

php-main.sock file not found in php version 5.6.20

I have successfully installed nginx version 1.9.11 on my remote server, running CentOS 7. I also installed PHP version 5.6.20 by following this link. I am trying to use a PHP socket for running PHP, ...
0
votes
0answers
32 views

nginx pagespeed - not sending expiry headers properly

I am trying to setup nginx with pagespeed. No matter what I do, the images only have 5 mins expiration on them. server { listen 443; server_name zxxx.com; index index index.php index.html; ...
3
votes
1answer
81 views

Nginx letsencrypt OCSP stappling

I have set up nginx with SSL and letsencrypt certificates. However I am unable to get OCSP stappling to work. From what I found in the web, it should work with the following configuration, ...
0
votes
0answers
48 views

php-fpm or nginx are not cooperating well (multipart issue)

I setup a: nginx as https and as upstream php-fmp on ubuntu server 15.10 - 1 core now: nginx receives simple multipart request via ssh POST [path] HTTP/1.1\r\n Host: [host]\r\n Connection: ...