Questions relating to nginx, an open source Web server and reverse proxy server

learn more… | top users | synonyms

0
votes
0answers
6 views

EC2.micro nginx php-fpm error “upstream timed out”

I've been setting up a new server on AWS using a t2.micro instance and Ubuntu. After setting everything up the site worked fine, but now it's throwing errors. There is no traffic on the site at the ...
0
votes
0answers
12 views

config for nginx/php5-fpm on EC2 micro instance - ubuntu 14.04

I've started "playing around" with AWS EC2 micro instances and nginx and wonder if anybody has a "best practice" or optimized configuration for nginx + php5-fpm including memcache?
0
votes
1answer
105 views

My server is making me download the code instead of running it

I am running an ubuntu server 12.04 but unfortunately I am not being able to make the interpreter run the code exactly. I am using nginx encrypted lvm and here is the conf.d (main part): server { ...
-1
votes
0answers
15 views

Can access php files inside folder even if the folder is restricted per ip / password, with NGINX NAXSI

I'm using nginx-naxsi package that comes with Ubuntu 12.04. I want to host a billing software on nginx, with naxsi. There is an admin section i need to restrict on a per ip basis, with password. ...
2
votes
2answers
125 views

What is the difference between the core, full, extras and light packages for nginx?

nginx on Ubuntu is a virtual package provided by one of five packages from the official repositories (at least as of 14.04, defaulting to nginx-core, I believe): $ apt-cache depends nginx | tail -n+2 ...
1
vote
1answer
21 views

How to get access from nginx on host OS to files inside lxc-container?

I have Ubuntu 14.04 and lxc-container inside it. Both of host OS and container have nginx 1.4.6 installed. Container has ip-address 10.0.3.100 and located in ...
-1
votes
0answers
12 views

Unmet build dependencies: libgd2-dev | libgd2-noxpm-dev

following this tutorial how to add ngx_pagespeed when i reach the dpkg-buildpackage -b i get the message dpkg-buildpackage: source package nginx dpkg-buildpackage: source version ...
0
votes
0answers
13 views

Can't access server from internet

I am testing home server on old Fujitsu Siemens PC. I installed Ubuntu Server 12.04 and upgraded it to 14.04 (had to use 12.04 for some boot problems) Then I installed LEMP stack with NGINX. I have ...
0
votes
0answers
14 views

Load Balance Nginx, SSL, MySQL

So I need to load balance Nginx servers, can someone give me a good tutorial or explanation. With SSL is there such thing as load balancing SSL? I've heard of it. And clustering MySQL, how can I do ...
1
vote
2answers
3k views

Nginx reverse proxy and subdomains

I have some problem with Nginx configuration. I've already searched for an issue but the proposed solutions I saw didn't work for me. I have some apps on a tomcat server and some apps on a jboss ...
0
votes
0answers
53 views

Configure nginx web server for iRedMail

I've been at this for almost two days now with no solution. I just created a droplet on Digital Ocean and I'm trying to install iRedMail as my mail server. Nginx is the web server and perfectly runs ...
0
votes
2answers
2k views

nginx and php5-fpm not working

before anything i searched everywhere and tested everything but still not working i install php5-fpm and nginx when i open localhost in browser i see this page : Welcome to nginx! so its working ...
0
votes
1answer
325 views

can't connect to BigBlueButton from external address

I installed a bigbluebutton server ver 0.81. When i set ip using sudo bbb-conf --setip 192.168.0.190 It's the local ip address and it work fine. but when i switch to my external static IP: sudo ...
0
votes
1answer
26 views

Ubuntu Server booting with NGINX running and not Apache2

I am running a server with Ubuntu Server 14.04. When I reboot the server it boots up with nginx running, and not apache2 like I would like. I end up having to stop the nginx service, then restart ...
0
votes
1answer
94 views

14.04 update broke my ruttorent setup

I just updated my system and now my rutorrent isn't working. When I go to the web page, I get this error JS error: [http://192.168.0.36/rutorrent/js/jquery.js : 2] TypeError: a is null I googled it ...
3
votes
2answers
2k views

Can I use nginx and GnuTLS together?

I read that nginx works with OpenSSL. But since GnuTLS is the only software that provides TLS 1.2 support, it would be useful to combine that. So, how can I compile nginx with GnuTLS on Ubuntu? =)
0
votes
0answers
52 views

Transmission RPC slow down

I use transmission RPC to control transmission daemon on Ubuntu 12.4 with Nginx. When there are more than 25 active torrents, transmission RPC takes too long to respond, around 15 seconds to ...
0
votes
0answers
46 views

dependency issue while installing phpmyadmin on nginx webserver

I tried to find a solution for this problem for a long time but I cannot find it. Maybe you can help me. I have Ubuntu 14.04 installed on my system and want to use it for web development using nginx. ...
0
votes
0answers
20 views

Ubuntu php5-fpm www.conf pooling

Ubuntu VPS with 4GB RAM running wordpress with nginx, php5-fpm, and percona mysql 5.5 Daily unique visitors 8000 Maximum concurrent connections 90 For the above which is better www.conf (php5-fpm ...
0
votes
0answers
94 views

Ubuntu 14.04.1 LTS | MariaDB | nginx | PHP | ownCloud | MediaWiki

I would like to have the following configuration on my server. I am new to Ubuntu (Linux, really) and am struggling while trying to set up the following elements. Does anyone have these packages ...
0
votes
1answer
35 views

package manager odd behavior after ubuntu failed update wich included an nginx update

So, yesterday I updated ubuntu and that included an nginx update, the process warned about diffs/changes to the default file under sites-available, I reviewed the changes and prepared a new file which ...
1
vote
0answers
87 views

Server slow after Nginx errors and restarting PHP

I have a server with Intel Xeon 2xE5520 2.27GHz, 48 GB Ram, 2x146 GB 15K HDD (Raid) OS Ubuntu 14.04.01, Nginx 1.6.2, PHP 5.5.9, MySQL. Webmin. My website is video portal. Traffic is approximately ...
9
votes
1answer
14k views

Nginx/PHP-FPM “Access denied.” error

I'm trying to set up a freshly installed Ubuntu (12.04) server, but I can't get PHP files running through php-fpm. No matter what I do, I always get a "Access denied." page (plain text, not html or ...
0
votes
2answers
183 views

Nginx over Apache with Laravel give rewrite_mod problems

Im running Nginx over Apache. I Nginx listens to port 80 and proxy it to port 8080, which Apache listens to. So far it works for direct url to files, like domain.com and domain.com/index.php. But ...
4
votes
1answer
4k views

NGINX and PHP downloades index.php instead of processing it

I have been banging my head for 2 days now. The issue is that the index.php is downloaded instead of being processed. I'm using Ubuntu 14.04 , Nginx, php5. The nginx/site-available/default is as ...
4
votes
2answers
460 views

Nginx Suddenly Appeared

I've never heard of this happening, so I'm baffled and not sure where to begin debugging. I'm on 14.04 and have had LAMP installed (as instructed here) for 3-6 months. Today, my laptop rebooted, and ...
8
votes
3answers
13k views

Nginx failing to reload - how to track down why?

Hi I've had my Nginx server running great on Ubuntu server 12.04 for a while. I've been gradually bolting on various bits, and got as far as optimising load times on my wordpress page. After making ...
0
votes
1answer
187 views

Not able to install nginx on ubuntu 14.04

I keep getting this error while installing nginx on 14.04 sudo apt-get install nginx [sudo] password for : Reading package lists... Done Building dependency tree Reading state information... ...
1
vote
3answers
5k views

How do I upgrade to nginx 1.2.0?

Running Ubuntu 11.04 with nginx 0.8.4 how do I upgrade to stable (1.2.0) without screwing my whole setup (multiple sites + varnish + php-fpm + memcache)?
0
votes
0answers
70 views

What is the correct way to auto start mono fast cgi under nginx?

I am following the mono documentation for installing mono under nginx with fast cgi. This links to a script to auto start mono on the page (added below). Now people have mentioned this would cause a ...
0
votes
1answer
230 views

How to upgrade nginx to mainline version from stable version? [duplicate]

I installed nginx 1.1.19 on my ubuntu 12.04 Server. Now I want to upgrade it to 1.7.6, I add nginx_signing.key and apt source for nginx, then run sudo apt-get install --only-upgrade nginx. But I got ...
1
vote
2answers
2k views

Perfect forward secrecy in Ubuntu 14.04 default installation

Does Ubuntu 14.04 support and enable perfect forward secrecy ciphers in the default TLS configuration of servers such as nginx, dovecot and postfix? Previous versions of Ubuntu such as 12.04 did not ...
0
votes
1answer
23 views

With the new security problem of nginx on 14.04, how do I tell what version I have?

I just saw a report on Facebook about 14.04 having a security issue related to nginx. I followed the link and update instructions, but how do I find out which version I have on my machine to see if it ...
4
votes
1answer
5k views

dpkg-deb: error: subprocess paste was killed by signal (Broken pipe) nginx

The Software up-to-date Option automatically download the upgrade for nginx. but While installing it's giving me the following error: Reading package lists... Done Building dependency tree ...
0
votes
3answers
2k views

error (13: Permission denied) in nginx 1.4.1

I am facing this issue on my nginx setup on ubuntu 13.10 I got these weird error on the log of my local domain 2014/04/06 21:29:37 [crit] 18065#0: *3 stat() "/media/user/Backup/Sites/sp/" failed ...
2
votes
1answer
6k views

how to install nginx after removed it manually

I have installed nginx using apt sudo apt-get install software-properties-common sudo add-apt-repository ppa:nginx/stable sudo apt-get install software-properties-common sudo apt-get update sudo ...
0
votes
1answer
71 views

Cannot get nginx to render my WordPress site

I am new to nginx but I followed religiously all the tutorials and tried to setup my WordPress site but I have an issue at the moment I cannot resolve. Basically I have the following configuration in ...
0
votes
1answer
122 views

No network access until I ping the gateway

I have the weirdest of problems that I can't work out on ubuntu 14.04 LTS. When I start the machine I cannot access the internet and the machine's nginx server cannot be accessed. Running ifconfig ...
0
votes
0answers
122 views

ngnix will not restart

I had a 502 error when running laravel. So I changed my default.conf to this : server { listen 80; server_name localhost; access_log /var/log/nginx/project.access.log main; error_log ...
0
votes
0answers
15 views

Can't put content in fastcgi_cache dir

I set up nginx to use the fastcgi_cache parameter. I also set fastcgi_cache_path. And everything works fine. What I tried to do is to manually add a CACHEDIR.TAG file in the fastcgi_cache_path dir in ...
0
votes
0answers
58 views

wait for job in bash script

find /var/www/ -ipath */logs/access.log.gz -execdir mv "{}" "old/`date +\%G-\%m-\%d`-access.log.gz" \; wait service nginx reload wait python /var/www/default/piwik/misc/log-analytics/import_logs.py ...
0
votes
0answers
103 views

setup default directory for ftp user and not to allow him to access the parent directories

I have setup an ubuntu instance on Amazon AWS with nginx webserver installed on it. I would like to create an ftp user and give default access to /usr/share/nginx/www. The user shouldn't be able to ...
0
votes
1answer
322 views

Installing mysql-server gives 504 Gateway Time-out

So I have this site im coding on that requires a database and is based on PHP. So for this site i installed phpmyadmin that also installed mysql-server. Before I installed phpmyadmin I didn't get a ...
0
votes
0answers
51 views

problem nginx on ubuntu with nodejs

I'm trying to make nginx upstream configuration working for ubuntu 14.04, and make my nodejs app visible from virtual host name. this is my conf file in available-sites under the /etc/nginx upstream ...
0
votes
0answers
69 views

Why doesn't lsof show localhost TCP connections in 14.04?

I have two servers running 12.04.4 and 14.04.1 respectively. Both have nginx (port 80) and a Java process (port 8080). As expected, the lsof output for the Java process (sudo lsof -nP -p $PID) on ...
0
votes
0answers
108 views

Nginx Configure: Error: no [MY ADD MODDS]/config was found

nweb here on ask-Ubuntu I have been trying to compile Nginx from source on Ubuntu 14.04 x64 and I get the following error: ./configure: error: no /src/mods/[MY ADD MODDS]/config was found If I ...
0
votes
1answer
192 views

Upgrading Ubuntu 12.04 LTS to 14.04 LTS: legacy PPA upgrade

I'd like to upgrade my server from Ubuntu 12.04 LTS to 14.04 LTS. However I have a small number of 3rd party applications, looking at their PPA list I foresee I could have trouble. So I am here to ...
48
votes
2answers
68k views

What is the easiest way to enable PHP on nginx?

What is the easiest way to enable PHP on nginx on Ubuntu 12.04? Best solution is the one that request minimal work, ideally just a package installation :)
7
votes
3answers
34k views

Where can I change the webpage shown by apache?

I have ubuntu 10.10 installed, and when I hit my IP I see: It works! This is the default web page for this server. The web server software is running but no content has been added, yet. Where ...
0
votes
0answers
100 views

Nginx redirecting to https when it shouldn't

I have a new site set up, and I think I may have messed something up. If I go to mysite.com, it works, if I go to www.mysite.com, it redirects to https://www.mysite.com and says 'This webpage is not ...