nginx is an open-source Web server and a reverse proxy for HTTP, SMTP, POP3 and IMAP protocols, aimed at high performance and low memory usage.

learn more… | top users | synonyms

1
vote
1answer
21 views

OpenSSL Padding Oracle vulnerability (CVE-2016-2107) + Nginx

I was trying Qualys SSL Labs test and It told me that the server is vulnerable to OpenSSL Padding Oracle vulnerability (CVE-2016-2107). I googled around on how to fix this, and although the OpenSSL ...
0
votes
0answers
36 views

How can we cache netflix content locally?

I work for a company that provides internet to very remote locations. The bandwidth we provide to these locations is very limited - around 1Mbps down. The people at these locations would love nothing ...
2
votes
2answers
78 views

SELinux is preventing NGINX from writing via PHP-FPM

I'm using a server to write into a NFS type mount-point via NGINX using php-fpm. At the very first step, it shows me the following error: 2017/01/16 11:32:59 [error] 55463#0: *22 FastCGI sent in ...
1
vote
0answers
22 views

Help! Failed to start uWSGI Emperor service

Hello am creating a django application using nginx as my server with uwsgi. However when i entered my domain or ip address to access my site. I got an 502 BAD GATEWAY ERROR. So I decided to look at my ...
1
vote
1answer
27 views

Nginx doesn't show the default html page

I'm running nginx on raspberry pi. I ran update and upgrade commands and then installed nginx. 1. sudo apt-get update 2. sudo apt-get upgrade 3. sudo apt-get install nginx Started the server 4. ...
-1
votes
1answer
35 views

How do I update software that was built from source?

If I build NGINX from source, how do I update it? I'm on a Debian machine and used to install and update software on the CLI with apt-get.
0
votes
1answer
36 views

NginX client cert authentication fails with “unable to get issuer certificate”

I'm currently struggling against a tenacious problem while setting up client certificate authentication for our mailservers via an NginX reverse proxy. The setup seems to be working in most parts ...
3
votes
1answer
55 views

Rewrite rule doesn't work in NGINX

Consider a URL as shown below: http://myDomain.tld/anAddress/myFile.pdf?X=zzz&Y=kkk How can I have it as : http://myDomain.tld/anAddress/myFile.pdf/zzz/kkk I want to get rid of both ?X and &...
3
votes
1answer
21 views

Rewrite doesn't work expectedly in NGINX

I'm using the following syntax for my rewrite in NGINX, and as far as I see it's working right! : location / { if (!-e $request_filename){ rewrite ^(.+)$ /index.php?url=$1 ...
3
votes
1answer
43 views

NGINX is reading files with Apache permission, is it wrong?

I have a server - S1 - using Apache as its webserver, and another server -S2 - running NGINX as its webserver. S2 is mounted in S1 and S1 is uploading files to S2 using NFS. So newly added files in ...
1
vote
0answers
17 views

HTTP Proxy behind nginx

I have nginx to forward traffic to certain site, example config: server { listen 80; server_name *.company.com; location /CentOS/7.2.1511/x86_64 { proxy_pass http://mirror.centos....
0
votes
2answers
52 views

Nginx redirect/rewrite a domain.a to domain.b/foo/ without changing a url

I have a problem with the implementation of such redirect: https://domain.a/ => https://domain.b/foo/ without changing a url to domain.b. I would like to see the contents of the URL domain.a from ...
0
votes
0answers
22 views

php not working after having activated Apache instead of nginx on plesk

In order to overcome a number of issues arising from nginx I decided to switch it off and activate apache instead on Plesk. Yet when I did it no php script seems to run and I get "Service Temporarily ...
0
votes
0answers
33 views

nginx crit error tlsv1 bad certificate status response:SSL alert number 113

I´m using nignx 1.4.6 with a let`s encrypt cert and getting a critical error in the nginx logs from time to time: [crit] 67#0: *2690713 SSL_do_handshake() failed (SSL: error:14094459:SSL routines:...
0
votes
1answer
68 views

nginx failed to start

I logged onto RedHat 7.2 server. sudo to root. In the ngixx.conf file (1.11.7) I added a UDP stream entry for reverse proxy port forwarding to another server: stream { server { listen 82 udp; ...
0
votes
0answers
7 views

Proper ./configure commands while installing ngx_pagespeed

I'm trying to build Nginx with Pagespeed following Google Developer's automate install command: bash <(curl -f -L -sS https://ngxpagespeed.com/install) \ --nginx-version latest In fact I can ...
0
votes
0answers
14 views

Deploying nginx + django + python 3 is showing 404 error

I am trying to deploy a Django application using Gunicorn via nginx. My application structure is similar below : --/abctasarim **main folder --/locale **locale folder --/...
0
votes
1answer
18 views

audit2allow asks for a path when setting up nginx

To setup nginx on centos7, I used to run: grep nginx /var/log/audit/audit.log | audit2allow -M nginxse and it worked fine, but apparently on an updated system, it is different. audit2allow complains:...
0
votes
0answers
24 views

NGINX won't display my custom 400 error page

I'm running a CCTV web page using nginx. It is only available on my lan It requires client certificates for authentication. I would like a custom error page when no client certificate is presented ...
1
vote
1answer
67 views

Pagespeed + Nginx installation from source fails

I'm trying to compile Pagespeed with Nginx in Ubuntu 14.04, following Google's instructions, and got some errors I don't quite understand. By default, it won't find my OpenSSL location, so I manually ...
1
vote
1answer
45 views

nginx installation failed in Debian Stretch

When trying to install nginxin Debian 9/stretch with the command: sudo apt-get install nginx-full The installation failed with the errors: Setting up nginx-full (1.10.2-2) ... [FAIL] Starting nginx:...
1
vote
1answer
119 views

Nginx + PHP-FPM serving .php files as downloads

It's a matter asked thousand times and since I hate write posts, I read and search for all possible documentation before get to the annoying part (for me) which is writing. So I have Nginx & PHP-...
2
votes
1answer
39 views

Remove “ipv6only” option from Puppet nginx module

My nginx server (which serves multiple vhosts) fails to start: Nov 08 23:54:43 foo systemd[1]: Starting nginx - high performance web server... Nov 08 23:54:43 foo nginx[3830]: nginx: [emerg] ...
1
vote
1answer
55 views

KVM Virtual Machine high load average but low cpu and ram usage-why?

I have a web server with nginx and php-fpm 5.6. It is one virtual machine of KVM. Here is ovs between VMs. The parameters of this Vm are : 4 CPU, 6GB RAM and 50 GB disk with raw, Debian 8.6. There are ...
0
votes
0answers
48 views

dotnet site nginx 404 error on linode

I want to expose my website to the web with default domain asined by linode. So I am going through this article http://coderscoffeehouse.com/tech/2016/08/19/real-world-aspnetcore-linux-example.html I ...
0
votes
0answers
108 views

uwsgi nginx , problem with accessing socket file on ubuntu --> 502 bad gateway error

I'm running into some permission issues with uwsgi and nginx running on Ubuntu 14. I get a 502 bad gateway error. I'm logged in as root but top -c tells me that uwsgi is runned as www-data (don't know ...
0
votes
0answers
25 views

What does this error mean with 5d?

I have a web server with HAproxy for load balancing and two nginx+php-fpm. When I opened my site I saw this error. I know what does 504 error mean, but why there are 5d?
4
votes
1answer
50 views

Should I deploy with the same user who is running the website?

I have a website being served by Nginx and I've recently setup travis builds and deployments for it. Nginx is running the website as www-data user. I've created an user deploy so that Travis can ...
0
votes
0answers
65 views

Nginx status check failure (CentOS)

Nginx status check fails. How is that possible? Syntax is OK, and the process is running: [root@vps-20176 /]# nginx -t nginx: the configuration file /etc/nginx/nginx.conf syntax is ok nginx: ...
1
vote
0answers
35 views

NGINX: control access to a location with both auth_basic and auth_ldap?

I am running NGINX 1.8.0 with nginx-auth-ldap. I have an application running at /app using auth_ldap for authentication/authorization. It works. server { listen 80; ... location /app/ { ...
0
votes
0answers
43 views

Nginx & FastCGI Buffering

I want to ask few questions regarding nginx and fastcgi buffering that i can't find an answer for. 1) Is the fastcgi_buffering values / request or for entire nginx? 2) Assuming that i want to have ...
1
vote
0answers
27 views

How to add ngnix behind haproxy server

I have setup nginx web server and I want to do the load balancing using haproxy server. I have done these using apache but unable to do it for nginx. Below the apache settings which are working for ...
0
votes
0answers
69 views

Nginx Reverse Proxy Problem

I am having an issue with my nginx.conf file where my proxy_pass for nas.domain.com IS forwarded to the correct address, but cloud.domain.com is not. Can anyone please help me figure out what is ...
3
votes
1answer
44 views

iptables/https: Router getting INPUT traffic originating on port 443

I think this a question about nginx/https but it may be about iptables (too) in case I'm misinterpreting things. I have recently setup a firewall on my router between my web server (nginx) and the ...
1
vote
1answer
47 views

Redirect all domain.com/paths that don't start with domain.com/wiki to domain.com/wiki - NginX Proxy

I recently moved my site from Wordpress to confluence, and I'm having trouble with page redirects. Ive setup a custom 404 page for my Confluence, but it only works if you type https://www....
0
votes
0answers
26 views

Nginx Webdav no connection inside lan

i have set up a dav share on Nginx 1.9.10 on Debian Jessie. Here is the dav config from Nginx (will be accessed over https) location /data { alias /mnt/airport; client_body_temp_path /mnt/airport/tmp;...
0
votes
0answers
69 views

Duplicated mails from PHP mail function under NGINX vHost and Postfix

It's my first thread on StackExchange plateform. I encounter a very weird issue with PHP mail() function and Postifx which is running on vHost under NGINX. Below, the environnement: I installed a ...
2
votes
0answers
69 views

Arch Nginx Uwsgi no app loaded

I am trying to get django working but uwsgi is having problems loading anything. Most likely do to my ignorance. I would love some help troulble shooting. I have been looking at similar posts on the ...
0
votes
0answers
28 views

Upgrading nginx installed from source on CentOS

I have installed nginx 1.8 from source. Now I want to upgrade nginx to the latest version, 1.10. Also I'm not getting security updates for the installed version since I have installed it from source. ...
1
vote
1answer
147 views

Nginx for reversing proxy on guacamole but RDP not working on External LAN with proxy

I use Nginx on Ubuntu 16.04 for using Guacamole as RDP clientless. This is working perfectly on my computer which is in an external LAN. But not working in another external LAN which have proxy (work ...
1
vote
1answer
57 views

installing nginx mainline with homebrew

Trying to install the mainline (1.11.x) version of nginx with homebrew with no success, is there a way ? (I found this http://brew.sh/homebrew-nginx/ but no mainline specific instructions).
0
votes
1answer
50 views

64GB Debian 8 Server, Do I need SSD?

I have a Debian 8 server with following config: Quad Core E3-1270v5 64GB RAM 2x4TB SATA Disks The server uses nginx 1.10 and redis to deliver files to clients. My question is since newrelic shows my ...
1
vote
1answer
86 views

Creating virtual host with nginx

I am having a problem with the virtual hosts using nginx no matter what I do I get to www/html and not the www/example1 folder. Can anyone please spot the problem? Am I missing something? pi@...
0
votes
1answer
701 views

Nginx 404 not found when trying to load files in the directory

So I have a website. www.example.com directory pointed at /var/www/html/ I can load a webpage at www.example.com/foo/ The file for that page is at /var/www/html/foo/index.html that index.html ...
1
vote
1answer
1k views

Nginx Add Secure Flag to Cookies from proxied server

Mozilla just released a new tool to check your website configuration. observatory.mozilla.org But the scan is complaining about Cookies (-10 points): Session cookie set without the Secure flag ... ...
0
votes
1answer
41 views

unable to start nginx on debian 8 jessie

> root 21:18 /l/s/system > service nginx start Job for nginx.service failed. See 'systemctl status nginx.service' and 'journalctl -xn' for details. > root 21:18 /l/s/system > ...
1
vote
1answer
252 views

502 Bad Gateway

I ran the following iptables commands to start pptp server: iptables -A INPUT -i venet0 -p tcp --dport 1723 -j ACCEPT iptables -A INPUT -i venet0 -p gre -j ACCEPT iptables -A FORWARD -i ppp0 -o ...
1
vote
0answers
112 views

Nginx cache seems to make chrome fail

I'm running a MeteorJs app on a OVH vps, behind a Nginx proxy with a Let's encrypt SSL Cert. Previously, I was using heroku to host my app. I'm now facing a problem : on chrome, I "often" get that ...
0
votes
1answer
88 views

CoreOS - Hosting cloud-config using nginx

I've been using Hosting cloud-config using nginx as an example: There's a config that you need to put into nginx config file: location ~ ^/user_data { root /path/to/cloud/config/files; ...
0
votes
2answers
491 views

How to redirect path using nginx while removing part of the path

Using nginx 1.8.1 on CentOS Linux, I am attempting to do the following: Redirect traffic from server_name server1.olddomain.com; to server2.newdomain.com In doing so, remove sites from the path. For ...