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

Disk I/O and load average peaks once every hour

We have updated our server from Debian Wheezy to Jessie and from php5.6 to php7.0, but now we have a disk I/O and load average peak exactly every hour. The exact time depends on the system start time. ...
0
votes
2answers
41 views

Linux Debian Jessie sudo command keeps asking for password

I have recently configured a Symfony 3 site which involved me to set up some permissions on the /var folder. I had to do the following: $ HTTPDUSER=`ps axo user,comm | grep -E '[a]pache|[h]ttpd|[_]...
0
votes
0answers
38 views

Exchange apache2 for nginx problem

I installed apache2 and now I wont use nginx now. I could reached my html page on local network on 192.168.1.11. The html file is saved in var/www/html/index.html. Now I installed nginx. I try to ...
1
vote
1answer
26 views

Nginx Reverse Proxy setup

I currently have a few hundred web applications spread across around 20 servers, and a reverse proxy sat in front of these running Pound and Haproxy. Pound is doing the http to https redirect and SSL ...
2
votes
0answers
26 views

How to configure NGINX as a reverse proxy for different port numbers?

I have NGINX configured like this as a reverse proxy for http requests: server { listen 80; server_name 203.0.113.2; proxy_set_header X-Real-IP $remote_addr; # pass on ...
1
vote
1answer
33 views

Nginx reverse proxy redirection

I am using nginx as a reverse proxy and when I login in my web interface I am redirected to the proxied URL. I would like to avoid it and always keep the "server_name" as the URL. Is it possible? ...
0
votes
0answers
19 views

Nginx proxy pass configuration for deluge webui

I would like to configure nginx so that it pass request to the deluge web server from '/' not '/deluge'. I have no idea where is the web root of the deluge webui, I cannot find this information ...
3
votes
1answer
34 views

Wrong site appears in Nginx

I have a Debian Linux server with nginx configured for several sites (/etc/nginx/sites-enabled), every site showing on its own domain. Now when I remove a site from /etc/nginx/sites-enabled, querying ...
2
votes
0answers
36 views

Nginx with dnsmasq 'could not be resolved (5: Operation refused)'

I'm trying to set up a django site using docker, nginx and uwsgi: I have a nginx docker container working as a reverse proxy (called ceca-nginx-proxy) and another nginx (ceca-nginx) container that ...
2
votes
1answer
26 views

how did my nginx conf get into an alternate location

I spent days tracking down why the default home page servied via nginx, no matter how i defined my conf, wasn't changing. i grepped to hell and back, and finally today, a result from hell, hell ...
0
votes
0answers
7 views

Git + Nginx - Is it safe to have https auth for cloning and pushing to repo, while remove any auth from gitweb block?

I have following nginx configuration on Ubuntu 14.04 to use together with git httpd backend and gitweb to anonymous browse of repo and push/clone with authentication. Is it safe to use such or I ...
0
votes
0answers
24 views

Route requests over interface

I have a raspberry pi setup for a few different things at home. Mainly it is my dns server and it is also a small webserver providing a reverse proxy to my internal camera system. I recently changed ...
1
vote
1answer
54 views

Running NGINX as a Reverse Proxy on Docker?

I'm trying to run nginx as a reverse proxy for Gogs using Docker. First I setup gogs and I can see a web page for it rendered on: http://203.0.113.1:3000/ But I want to have NGINX proxy it for me ...
2
votes
1answer
59 views

RTMP Streaming to Twitch

I'm streaming using OBS on Windows (QuickSync), pushing 20k bitrate to 2nd PC based on Linux (Debian Jessie 8.4.0, 64bit) via Gigabit Ethernet. The Debian system runs a minimal installation without X ...
-1
votes
0answers
13 views

Can`t access my EC2 instance via IP/DNS [duplicate]

I have created my first EC2 instance, where I found this VPS have public DNS and IP, but I can`t access it via browser. I have deployment to that instance via deployhq and it works fine. I can even ...
0
votes
0answers
26 views

Why is a 'Trusted Network' Port More Secure?

I'm working through this tutorial ATM. http://www.cyberciti.biz/tips/using-nginx-as-reverse-proxy.html I'm planning on using NGINX for a simpler scenario but I'm curious as to why the tutorial ...
1
vote
0answers
14 views

gitweb nginx with root url path

I have a very strange problem: I configure a nginx server with server { listen unix:/home/ingo/repositories/run/gitweb.nginx; server_name _; access_log /home/ingo/repositories/log/proxy....
4
votes
2answers
60 views

Find IP addresses visiting /page1 but not /page2 from nginx access logfile

I need help with selecting specific data's from log files. I need two scripts: I need to select all IP addresses that only visited /page1 I need to select all IP addresses that visited /page1 but ...
1
vote
0answers
48 views

ModSecurity is defaulting to index.html on POST

I am trying to implement ModSecurity and I have this in nginx location / { ModSecurityEnabled on; ModSecurityConfig /etc/nginx/modsecurity/modsecurity.conf; index index.php; ...
3
votes
1answer
218 views

Updating Nginx server to 1.10 on Debian 8.4

I just installed the latest Debian version (8.4) on a virtual machine, and everything went fine. I then installed nginx server from the Debian repos and I got version 1.6.2, while the latest version ...
0
votes
0answers
18 views

zopfli --i1000 all css, js files in a directory and sub directorys

My servers OS is CentOS, with Nginx. I've enabled Gzip_Static_Module for nginx. Now after update of a website I need to gzip all the js, css files. Is there a way to search a dir like /home/user/...
0
votes
2answers
48 views

Can not change HTTPS to HTTP on Nginx

My problem is described on the title of this topic. I have a web server running by nginx. I registered a free domain name .tk and installed Let's Encrypt certificate. The following configuration is ...
3
votes
1answer
109 views

Configuring ulimit of `max open files` for daemonized nginx master process

I have an nginx-daemon running on a Debian (8.3). The nginx process occasionally runs into resource limitations when trying to write log files: too many open files. The nginx master process is ...
2
votes
0answers
156 views

munin phpfpm plugin

I have setup PHP-FPM plugin All graphs works except three PHP5-FPM Average Process Size PHP5-FPM Memory Usage PHP5-FPM Processes setup /etc/munin/plugin-conf.d/munin-node [phpfpm_*] env.url ...
1
vote
0answers
22 views

Sudden problem with a rack/passenger ruby app: “Connection closed”

I have a Ruby 1.8.7 app which runs under Phusion Passenger and Nginx, for one of my clients, on an Ubuntu VPS. It's been ticking away happily for years, but yesterday ran out of log space (sending me ...
-1
votes
1answer
25 views

apache2: Configuration error: No MPM loaded

I removed apache2 as it was giving error: AH00534: apache2: Configuration error: No MPM loaded. then I reinstalled it, using apt-get install apache2 but now it gives error: apache2: Could ...
3
votes
1answer
70 views

Nginx requires reload after reboot

I'm running raspbian on RPi3 and I've installed and configured nginx to proxy to two different applications running on different ports: server { listen 80 default_server; root /var/www/html; index ...
1
vote
0answers
24 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 ...
0
votes
1answer
15 views

How to write the file `nginx.service` on centos 7.2?

I installed nginx from source on centos 7.2,and I need a file ——nginx.service . There is an example of mysqld.service, http://superuser.com/a/384525/577295 I imitate it and write like this: [Unit] ...
0
votes
0answers
49 views

Installing nginx from source error

OS is centos 7.2,installing nginx from source error: sslv2conftest.c: In function 'main': sslv2conftest.c:217:15: warning: 'currtest' may be used uninitialized in this function [-Wmaybe-uninitialized]...
0
votes
0answers
31 views

where is nginx.lock file?

I am using centos 7.2,and I installed nginx 1.9.14 form source, wget -c http://nginx.org/download/nginx-1.9.14.tar.gz tar zxf nginx-1.9.14.tar.gz wget -O nginx-ct.zip -c https://github.com/...
0
votes
0answers
26 views

NGINX and PHP Pools

We host quite a few client sites, and I've inherited a shared hosting ecosystem on DigitalOcean. We run a LEMP stack, and all sites were at the same permission access level as eachother. We are now ...
0
votes
0answers
30 views

Nginx + CentOS 6 + OpenSSL Library - Update System Version

CentOS 6 I'm running Nginx which is built with an earlier version of OpenSSL: Note: my linux skills aren't so strong with this kinda stuff so any advise or direction would be greatly appreciated. ...
0
votes
0answers
16 views

How to serve apache2 www sub directories from nginx while the domain does not change

I'm using nginx and apache on the same Ubuntu machine. nginx is using port 8080 apache2 is using port 8081 I want to serve directory from /var/www/directory with domain www.domain.com but I do not ...
1
vote
1answer
71 views

nginx won't restart

I am running Plesk on Debian Since i installed Plesk almost 6 months ago every time i restarted the server nginx would fail to start on boot and i would have to go and manually restart it. Now today i ...
0
votes
0answers
34 views

nginx start failed. reason: Cannot expand template file

I have problem with zimbra nginx when I restart it Starting proxy...Failed. Starting nginx...nginx: [emerg] could not build the server_names_hash, you should increase either ...
1
vote
3answers
139 views

How can I find which user is accessing a file using strace?

My actual problem is that Nginx is not able to render pages (403 forbidden) despite the permissions being set to appropriately (in my opinion) The directory of stackoverflow at default location: ...
1
vote
3answers
159 views

Nginx error nginx: [emerg] could not build the server_names_hash with zimbra

I have installed Zimbra 8.6 on CentOS 7 and I have changed the zmprov modifyConfig zimbraFileUploadMaxSize 5000000 zmprov mcf zimbraMtaMaxMessageSize 52428800 I have restarted the mailbox the I ...
0
votes
1answer
73 views

Nginx: proxy_store_access option doesn't seem to work

I'm using proxy_pass to handle file uploading via nginx for a Rails app, and it's working fine, , except for the file permissions. Here's the current config block: location ~ ^my_filename_regex$ { ...
0
votes
0answers
97 views

uwsgi , application not found

Ok so I have been trying to find a solution to this for 2 days now but I cannot seem to make much progress. I am running this on a nginx server but that appears to be fine. I copied over a python ...
2
votes
1answer
152 views

Opposite behavior of keepalive (nginx reverse proxy on ElasticSearch)

I am setting up a nginx reverse proxy for ElasticSearch (with HTTP Basic Auth) as described in this article. This is my nginx config file: events { worker_connections 1024; } http { ...
0
votes
0answers
271 views

Installation of nginx on Ubuntu 15.10 gives “Inappropriate ioctl for device”

I just installed ubuntu 15.10 in a container on my machine and want to install nginx. I run an apt-get update, and then sudo apt-get install nginx and I get an error message saying Inappropriate ioctl ...
3
votes
0answers
74 views

How can I perform an “alias” with nginx?

I am using the default nginx config for localhost, which translates requests to http://localhost to files in /home/velour/www. That's all working normal. Now I am trying to translate requests to ...
1
vote
0answers
228 views

Permissions on nginx log files

I have a PHP/nginx environment on OS X which is deployed to an Ubuntu server. On OS X, nginx is set up with Homebrew, thus my user ("joe") owns the files, whereas on Ubuntu nginx is installed with ...
5
votes
2answers
720 views

Let' encrypt - nginx - OCSP stapling

I would like to enable OCSP stapling in my nginx server. I'm using nginx version: nginx/1.6.2 debian Let's Encrypt certificate I'm really unexperienced in this matter, so it might be a trivial ...
0
votes
3answers
170 views

How to install Nginx while Apache running?

I am trying to install nginx as a backend proxy for Apache and I get this errors: === Install Nginx from official repositories === Loaded plugins: fastestmirror, remove-with-leaves, tsflags, ...
0
votes
1answer
275 views

Nginx Log Rotation Doesn't Seem to Be Working Correctly

I discovered that my partition mounted as /var had filled up. In tracking down the disk usage, I found that my Nginx log file is huge, and it doesn't seem to be writing to the correct file. ls -ltr ...
0
votes
0answers
40 views

HTTP Session Management while using Nginx as in “Round Robin” mode Load-balancer?

I'm trying to load-balance "2 Web Servers (running Apache/PHP)" by putting nginx in front of them. But I need to use Round Robin algorithm but when I do this, I can't manage to have the stable ...
1
vote
1answer
71 views

Where is the nginx executable on Debian? [closed]

I've installed the nginx-light package on debian, but I can't find the executable. It's not in /usr/bin, like it says on the official nginx website. Where is it, then?
2
votes
2answers
286 views

Cannot connect to localhost on port 4430

I am running vagrant from a virtual box with CentOS and Nginx installed. I've created a reverse tunnel from the vagrant box to a remote server but when I am trying to connect to my localhost on port ...