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

-2
votes
0answers
28 views

Error when compiling nginx [on hold]

I use CentOS 6.5 and nginx 1.7.8. When I compile no matter what configure options use, I get this message: -lpthread -lcrypt -lpcre -lcrypto -lcrypto -lz make[1]: Leaving directory ...
-1
votes
0answers
16 views

Nginx rewrite store codes for Magento

I would like to rewrite my Magento urls without store code in Nginx. In the past I used store codes, but now I would like to rewrite them to an url without. Example: www.site.com/de/product and ...
0
votes
4answers
10k 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
72 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
20 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
299 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
1answer
26 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 ...
4
votes
2answers
7k 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
votes
1answer
82 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
218 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 ...
0
votes
1answer
1k 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
0answers
14 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
20 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
18 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 ...
4
votes
1answer
994 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 ...
2
votes
1answer
830 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
56 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
42 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
18 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
29 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
37 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
94 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
48 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
23 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
39 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
29 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
0
votes
0answers
41 views

imageantialias() not available with php fpm with gd and nginx

I'm getting the error that the function imageantialias() is missing despite php5-fpm and php5-gd being installed. I am using a debian system with a nginx server. Everything else is working fine.
1
vote
1answer
253 views

Authenticate users via LDAP using nginx

I know how to auth the users via LDAP in apache2: # put the following in the VirtualHost <VirtualHost *:443> ServerAdmin user1@bar.foo.com DocumentRoot /var/www <Directory ...
1
vote
0answers
68 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
1answer
171 views

nginx reverse proxy for jenkins returning a 404

I have a vanilla installation of nginx on Ubuntu 14.04 and I am trying to run a reverse proxy in front of a Jenkins installation (running on port 8080 as bellow). I created a conf file to be included ...
0
votes
1answer
31 views

nginx configuration file rewrite problem

My client moved to new server which nginx & percona server. Problem is the forward slash is being removed from end of the url. as you can see on the picture http://imgur.com/8OAUQZb therefor the ...
1
vote
0answers
52 views

File uploads and max_execution_time and request_terminate_timeout

In case of HTTP file uploads (nginx+php5-fpm) does max_execution_time (in /etc/php5/fpm/php.ini) or request_terminate_timeout (in /etc/php5/fpm/pool.d/www.conf) also include the time the file took to ...
-1
votes
1answer
107 views

Fail2ban consuming lot of bandwith

I have a raspberry pi on which I have a nginx and a ssh server, I have installed iptables and fail2ban in order to limit the attempts of ssh connection. The problem is that it seems that fail2ban ...
3
votes
2answers
5k views

nginx server config with multiple locations does not work

I have been trying to get this to work for hours now! I would like to set up a simple web server. My web files shall be in /var/www. I also want to have phpmyadmin. I created a directory ...
6
votes
3answers
13k views

How to uninstall nginx (installed from source)?

I want to switch from a development version to a stable one. I installed nginx from source with: ./configure make sudo make install I tried sudo make uninstall but it doesnt work. How can I ...
0
votes
2answers
162 views

touch & gzip all HTML, CSS, JS files in a directory recursively

I'm trying to optimize Nginx server. I've enabled Gzip_Static_Module to serve pre-compressed gzip static files like CSS, JS, HTML. Nginx Wiki says that the timestamps of the compressed and ...
0
votes
1answer
39 views

UNIX + nginx + php + SQL

I use a FTP site to upload my work, which resides on a server running on a Linux OS based on nginx. And I use an odbc driver to connect to a database that interacts with my php code. In that database ...
1
vote
1answer
930 views

Make Nginx follow symlinks

Nginx does not follow symbolic links. I get a 404 error. In my directory, I have this link: lrwxrwxrwx 1 root root 48 Sep 23 08:52 modules -> /path/to/dir/ but the files stored in ...
1
vote
0answers
31 views

Very strange issue, something is blocking specific links on local domain

I have a very strange issue and I ran out of ideas. The major problem is that the symptoms are not consistent. I have a short link website hosted on 2 virtual machines, one with nginx+php-fpm and one ...
1
vote
1answer
54 views

nginx: Too many redirect

I need to create a nginx configuration with redirect, this is my conf: server { listen 8080; server_name test.example.org; index index.php index.html; return 301 ...
2
votes
1answer
544 views

nginx send log to remote syslog server

I wnat to send nginx access log to a remote syslog-ng server. I installed syslog-ng on each side (server-client). Client: 10.10.10.2 Server: 10.10.10.1 Some log files (messages,syslog,mail.log) are ...
1
vote
1answer
113 views

goaccess won't run when called from CGI script

I'm trying to make a CGI script (for nginx) that outputs an html page containing the usage statistics for my server. I'm using goaccess 0.7.1 and CentOS 5 x86. I've configured nginx to run my bash ...
3
votes
3answers
286 views

Internal Server Error nginx

I'm trying to install and get running Tendenci on a DigitalOcean server. Tendenci is this open source association management software: http://tendenci.com/ I've followed the instructions here to the ...
1
vote
1answer
62 views

nginx: Long filenames in directory listing

Using nginx/1.4.1 with OpenBSD 5.4, 64bit: How could we set nginx to show the full filename (or at least show more from the filename then the default) when using directory listing? Googling ...
1
vote
0answers
55 views

Fail2ban for nginx post flood ignores time intervals

I'm trying to create a fail2ban filter that is going to ban the host when it sends over 100 POST requests over 30 seconds interval. jail.local: [nginx-postflood] enabled = false filter = ...
3
votes
2answers
5k views

nginx + php5-fpm doesn't work properly. I see a white screen only

I've just installed nginx and php5-fpm and I wanna test it on port 82. So I call http://mysite.com:82/test555.php and I see nothing. Just a white screen. No errors, no warnings, I don't see nothing at ...
0
votes
0answers
17 views

Setting up nginx on Fedora 19

So I had nginx set-up with the default site. I decided I wanted to change because my website is at /var/www/server.nyro.net/... so before I changed again, I went to 127.0.0.1 to see if everything ...
0
votes
1answer
111 views

Bandwidth speed test with nginx

I have server with nginx-1.4.1. I want to test bandwidth between my desktop and server. Incoming speed I can test by simple download file with size 10M from server and count time what I need to ...
0
votes
0answers
1k views

Nginx doesnt work, no permissions rights and cant find some dir

Im using Ubuntu 13.04. I've installed Nginx, configured it with ISPConfig.. then I wanted to install the passenger module. Because Nginx doesn't allow dynamic modules I had it compiled from source. ...
0
votes
1answer
319 views

runit and nginx

I'm working on a system whose primary startup system is runit. Unfortunately, runit requires that whatever application it is running be running in the foreground like so: #!/bin/bash exec sshd -D ...