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
0answers
10 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
23 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
13 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
19 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
45 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
4 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
9 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
17 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
19 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
48 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
31 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
71 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
35 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
42 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
41 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
80 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
47 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
61 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
33 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
39 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
26 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
56 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
34 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
45 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
24 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
62 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
53 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
26 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
0answers
115 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
49 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
49 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
74 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
500 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
927 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
39 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
205 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
93 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
81 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
349 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 ...
1
vote
0answers
32 views

nginx logging wrong login password

I would like to see on nginx logs when someone tries to log into my server and put a wrong password. On /var/log/nginx/error.log I don't see the errors 2016/08/12 08:45:14 [error] 1282#0: *25820 ...
1
vote
1answer
831 views

Does nginx support comment blocks in configuration?

I have here an nginx config. I need to comment out blocks in it: ...things I want... ...things I don't want... ...things I want... The things are 30-50 line long, and I won't backup and delete them. ...
2
votes
1answer
36 views

Why configure the size of the Core File?

I am running Nginx on Ubuntu. I am reading over the configuration directives for the Core Module. One of these directives is called worker_rlimit_core. It says the directive: Changes the limit on ...
1
vote
0answers
88 views

Starting nginx on boot with systemd, Raspbian 8 (jessie)?

Received the following error when trying to start nginx on boot in Raspbian GNU/Linux 8 (jessie) ● nginx.service - A high performance web server and a reverse proxy server Loaded: loaded (/lib/...
1
vote
1answer
181 views

Gitlab with separate Nginx HTTPS SSL not working

I have a CentOS 7 server (home file server) and I was trying to setup Gitlab with my own Nginx install (so I can use it for other things as well). Nginx version is 1.10.1. When I use the recommended ...
1
vote
0answers
232 views

nginx proxy - 502 bad gateway

First of all let me tell you that I am not an expert on web-servers and things like that. I'm trying to set-up a cloud system on raspi following this link: RasPi Owncloud However, when I try to ...
3
votes
1answer
39 views

Configuring nginx for my own purposes

I'm a noob in nginx configuration, but right now I have let's call it as my first task to setting up and configuring it. Can anyone help me please with editing nginx.conf according to the tasks below. ...
2
votes
1answer
309 views

How to restart ngnix server on CentOS

I recent buy a VPS on DigitalOcean and installed CentOS and follow the tutorial to install Ngnix Server, then I follow the tutorial to create a Virtual Host, but when I put this command to restart: ...
1
vote
1answer
29 views

How nginx is able to access its default virtual host files when selinux is enabled?

From what I can tell, nginx is running in httpd_t security context, while index.html, for instance, is of usr_t one: $ ps auxZ | grep 'nginx.*worker' system_u:system_r:httpd_t:s0 nginx 13734 0....
0
votes
1answer
59 views

How can I install Nginx 1.8.0 on SMP Debian 7 (3.2.81-1)

Hope you can help I have spent all day trying to do this. I am using a cloudserver. I installed Debian 7 (minimal) from the hosting company's image. Logged in as root. I have added the following to ...