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

nginx server_name directive not working

I want to use NGINX as a proxy server for my application. My application (say 'abc') is running on port 8000 on my machine. And NGINX is running on the same machine. A part of the conifguration looks ...
0
votes
1answer
14 views

Nginx using default configuration on its own

I have set up Nginx on Ubuntu server 14.04 I want to configure a very simple server block that listens for /app path and redirects traffic to a running nodejs instance locally. I have done that with ...
1
vote
1answer
19 views

What does nginx -s reopen do?

What does 'nginx -s reopen' really do? The nginx documentation says that it reopens logs. I tried it out from a terminal while nginx was running, but nothing happened.
0
votes
1answer
499 views

Problems to install nginx-full on debian 8

I have some problems to install nginx pkg (nginx-full) on debian jessie # apt-get install nginx-full Reading package lists... Done Building dependency tree Reading state information... Done ...
0
votes
2answers
90 views

phpmyadmin blank page after login using nginx / php-fpm

i can access www.***/phpmyadmin to login. if i log in with mysql user just hit blank page with no error. System runs on raspbian. Installed : nginx 1.2.1 , php5.4.36 i tryed login from different ...
1
vote
1answer
13 views

How nginx receives requests from client and forwards it to the actual server?

I have installed nginx on RHEL and now I need to configure it to forward the requests to the actual server in the /etc/nginx/nginx.conf. My actual server is using a private IP address, will nginx ...
0
votes
0answers
42 views

nginx won't to start

I have run nginx -t and it returns successful. On boot I see messages about nginx has failed to start, and it wont start when I try nginx or service nginx start Instead i get a message to check ...
0
votes
1answer
19 views

Invalid IP parameter on nginx setup

I'm currently setting up an an nginx web server with PHP on ubuntu 10.x lastest. I've set it so it will only use my local LAN for testing but it comes with invalid paramter for 192.xxx.x.0/142. My IP ...
1
vote
1answer
619 views

phpmyadmin doesn't work after installing php5-mysqlnd

I am currently running into some problems with phpMyAdmin. I set everything up correctly and made sure everything worked. Then later after some developing on some pages I noticed I couldn't execute ...
0
votes
0answers
26 views

Nginx: How to serve multiple sites via separate subdirectories

I have 2 web applications that I want available under http://example.com/demo1 and http://example.com/demo2. My config below correctly reverse proxies to each site, but some API requests are 404'ing ...
0
votes
0answers
29 views

How to use stdout/stderr from multiple program

I'm working with Docker-containers. An important part of Docker is to log error, etc., to stdout/stderr. For example, I want to run the following program by using this command: nginx -g "daemon ...
0
votes
1answer
2k views

Get transmission web interface working with web server

I have my working on default port and I want to be able to use the web interface with an URL like http://my.domain/torrents. I tried adding a location and a proxy conf to Nginx but it fail to work ...
1
vote
1answer
14 views

Ubuntu + nginx , get information about virtual machine

first of all i'm not server administrator, so sorry if my question is very silly. Shed some light on the structure of the server. I have one server and in this server is two virtual machines (web_a ...
1
vote
0answers
79 views

NGINX Reverse Proxy - no user/password was provided for basic authentication

I've got Nginx set up on a RPi (raspbian)as a reverse proxy using SSL between the remote user and the Nginx instance. All seems to work well for two services mounted on the RPi (Shellinabox and RPi ...
0
votes
0answers
8 views

Unable to get Nginx5 and php5-fpm running on mac

I've an issue whilst trying to get Nginx and PHP FPM working together. I have installed both the packages with brew, and the server is working as expected with static pages. However, when it comes ...
0
votes
0answers
20 views

Using Varnish + Nginx Forcing SSL

i'm using Varnish and i would like to force communication only with SSL. My server is Nginx. What's the best way to do so? Or the easiest? I read about Pound proxy and installed it but guides were too ...
5
votes
1answer
1k views

How to create a git repo using Nginx?

I've a CentOS 5 server at domain.fr. I am trying to set a subdomain so that I can use it with git : git.domain.fr My repositories are in /home/git (example /home/git/repos.git) I've installed ...
7
votes
4answers
13k views

Unable to Pull EPEL repository Metadata

Installing Nginx on Scientific Linux according this documentation fails: [vagrant@localhost ~]$ sudo su -c 'rpm -Uvh http://dl.fedoraproject.org/pub/epe l/6/x86_64/epel-release-6-8.noarch.rpm' ...
1
vote
1answer
180 views

Nginx leaves old socket

I'm running Nginx 1.6.2 (the nginx-full package from the nginx/stable PPA). I'm using the unmodified configuration /etc/nginx/nginx.conf: user www-data; worker_processes 4; pid /run/nginx.pid; ...
0
votes
2answers
175 views

php-fpm error unable to bind listening socket for address '127.0.0.1:9003': Permission denied (13)

I've added a config file to /etc/php-fpm.d ; Start a new pool named 'joeri'. ; the variable $pool can we used in any directive and will be replaced by the ; pool name ('joeri' here) [joeri] ; Per ...
1
vote
2answers
33 views

nginx web server on VM inaccessible to host

My laptop is running Ubuntu 14.10 desktop and hosting 14.10 server in a libvirt VM (set up using virt-manager). I installed it in minimal virtual server mode with only openssh-server. After ...
0
votes
3answers
72 views

Unknown cause for redirect on 80 port

I have an Ubuntu 14.04 server with Apache 2.4.7 running there, hosting one site on 80 port. Today I discovered that every request to 80 port redirects to another website with response: HTTP/1.1 301 ...
0
votes
3answers
29 views

nginx not restarting after changing port

I have tried to change the port in which nginx listens for from 80 to 6000. However I get this when I try to restart it. Restarting nginx: nginx: [emerg] bind() to 0.0.0.0:6000 failed (98: Address ...
0
votes
1answer
79 views

howto setup dokuwiki parallel to owncloud

How can I get a working owncloud server with a working dokuwiki? The dokuwiki entries should not be destroyed... On a raspberry pi an owncloud installation was made following this article (nginx ...
0
votes
0answers
28 views

Set Up NginX to serve files in variable directories

I'm currently trying to set up NginX so that it handles request from an Ipad app. The app controls MPD (a music player) on the server that hosts NginX and asks it for album covers. Its requests ...
1
vote
1answer
35 views

Analysing nginx error log

I am looking for a way to the following. Here is one line from nginx's error log. 2014/12/29 21:17:57 [error] 30078#0: *311826 openat() ...
1
vote
1answer
122 views

nginx - userdir with user permissions

What I want to do is have the usual server running user files like this: http://users.example.com/~user1/stuff.php which would be stored somewhere in /home/user1/www or something like that, but ...
1
vote
0answers
64 views

NGINX multiple locaton block matching

I have a RaspberryPi with Raspbian and I want that a public www-folder is protected by htpasswd and that php files are passed correcly and the .htpasswd and .db files are denied to all. But this does ...
0
votes
1answer
129 views

How to set nginx for http and https

i need set nginx respond to http and https, i configured my default conf in this way: server { listen 80; listen 443; ssl on; ssl_certificate ...
0
votes
1answer
414 views

unable to start nginx on centos 7

service nginx start Redirecting to /bin/systemctl start nginx.service Job for nginx.service failed. See 'systemctl status nginx.service' and 'journalctl -xn' for details. [root@myvps ~]# systemctl ...
0
votes
4answers
11k views

permission error with php/nginx and not using www-data

-edit- whats even more curious is if i chmod 777 /var/run/php-fastcgi/php-fastcgi.socket this works... if its not www-data, php-www (nor root) then what user is trying to access the socket :| -edit2- ...
1
vote
2answers
202 views

Have SSH on port 80 or 443 while webserver (nginx) is running on these ports

I have a remote Linux (Debian) machine which I'd like to access from a very restricted network. In fact the only two open ports are port 80 (for HTTP) and 443 (HTTPS). On this machine I have nginx ...
1
vote
0answers
56 views

How to configure nginx to dynamically read folders, user accounts/domains?

I have cPanel and Apache 2.4 on my CentOS 6.6 VPS. I installed Nginx as a reverse proxy. Everything works fine. I have 2 domains on the VPS & I'm able to configure them both on nginx. The ...
0
votes
1answer
151 views

NGINX + PHP-FPM Permission denied

I have few WordPress websites, all with same config - difference only with user and domain, but got 403 only for newly created virtualhost: # cat barelef-art.kiev.ua.conf server { server_name ...
-1
votes
1answer
253 views

php: command not found on centos

I've currently installed CentOS (6.5 version), nginx, mysql and php. I've tried to navigate to index.php in a browser, and it looks fine, but if I try to run the script via the command-line I get: ...
0
votes
1answer
246 views

Raspberry pi running owncloud not reachable using no-ip URL

I have a problem reaching my raspberry pi from outside of my LAN and I don't remember having changed anything. It was working previously, but I don't know what changed. I've installed owncloud with ...
1
vote
0answers
26 views

Nginx url rewrite [closed]

Since I'm using urls with store codes in Magento, I don't want them for my blog posts. How do I make a permanent rewrite with Nginx to remove them? For example, I want to rewrite ...
1
vote
0answers
27 views

Webserver on Solaris 10 + zones. How to do it properly?

I have 1 real IP and many websites. Initial idea was to separate each website into it's own exclusive-ip (vnic) non-global zone. MySQL server have it's own non-global zone. Question is: what is the ...
1
vote
0answers
43 views

Nginx wordpress and its wrong path

I've a Raspberry and I installed nginx and over this I put Wordpress. Wordpress installation come from an old backup of a websites that I hosted somewhere else. The URL was mydomain.com/home, now in ...
2
votes
1answer
1k views

Why does't stopping the nginx server kill the processes associated with it?

When I stop nginx like this on ubuntu 12.04, I get the following errors: $ sudo service nginx stop Stopping nginx: nginx. $sudo service nginx start Starting nginx: nginx: [emerg] bind() to 0.0.0.0:80 ...
2
votes
0answers
140 views

VirtualBox guest machine as a nginx host

I have VirtualBox 4.3.12 with Fedora 20 and nginx 1.4.7 installed. Machine has Bridged Network interface and pings can be done both ways: from host machine (Windows 7) using ping 192.168.0.15 ...
2
votes
1answer
178 views

number of open files configuration not operational

Addressing an error of Too many open files I was attempting to follow the suggestions here Although /etc/sysctl.conf fs.file-max = 70000 vm.swappiness = 10 and /etc/security/limits.conf nginx ...
1
vote
0answers
35 views

bonding multiple proxy connection

I want to use multiple proxy server at the same time to speed my downloads. How can use multiple proxy at the same time. Reverse Proxy products such as haproxy nginx can use multiple proxy server but ...
1
vote
0answers
58 views

Why does nginx prefixes the location context path to the root location?

I have a simple default website configuration located in my "sites-available" folder in nginx that looks like the one below. When I try browse to /hello I'd expect it to serve the index.html file ...
1
vote
0answers
128 views

Startup commands in /etc/rc.local won't work

I have a Python program and an nginx/uwsgi/django web setup. I want the program to start with the system, as well as the web server. Here's my /etc/rc.local: crawler_dir=/home/mohammed/git/crawler ...
1
vote
0answers
245 views

Redirect loop with Nginx as reverse proxy and Yii

I've been reading another similar issues and changing some things in my Nginx configuration, but no one worked :/ When I'm trying to access to a specific page at my site, it leads me to a "redirect ...
1
vote
1answer
104 views

How to allow users to copy files with different user and group?

Good Day, There is a linux user and group called "developers" (has no sudo access) with home folder in "/home/developers". There is nginx running on the same server, there is a web folder for a ...
1
vote
0answers
45 views

Export and import ssl certificate from cpanel to self manage hosting

I have moved my server from cpanel managed hosting to nginx-centos server. I have only command line to manage my server. I need to export and import the ssl certificate. All the tutorials that I have ...
0
votes
2answers
77 views

How do I find and remove Nginx from an EC2 instance?

I want to remove Nginx from my Amazon Linux EC2 server. How can I find it and remove/disable it? Nginx is listening on port 80, and I need access to that port. It would be preferable to not have to ...
0
votes
1answer
62 views

Nginx Static Build - Run as root with a non-root user

I have compiled nGinx statically and it is working fine. How i can create a NORMAL user and run the nginx static bin as root when i start it from the normal user?! Thank you