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

learn more… | top users | synonyms

0
votes
0answers
11 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
0answers
11 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. ...
-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 ...
1
vote
1answer
20 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 ...
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 ...
2
votes
2answers
122 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 ...
0
votes
0answers
50 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
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
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
91 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
86 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 ...
0
votes
2answers
181 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
2answers
459 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 ...
0
votes
1answer
184 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... ...
0
votes
1answer
229 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 ...
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
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 ...
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
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 ...
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
319 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 ...
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 ...
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
0answers
146 views

Application doesn't launch on startup (autostart) inside docker's container

the problem I faced with is none of applications doesn't launch on the system boot. I have image based on ubuntu:14.04 installed Nginx, Php5 and Mariadb. On every boot (!) I have to start services ...
0
votes
1answer
72 views

Enabling auth_basic in Nginx displays 500 Internel Error

When I have auth_basic enabled on my website, all pages displays 500 internal error. Here's what my error log says: [crit] 10250#0: *5 open() "/etc/nginx/passwd.d/dev.passwd" failed (13: Permission ...
0
votes
0answers
19 views

nginx on ubuntu 12.04 localhost does not render

I installed nginx software and http :// localhost does not render. What to do in default to make localhost show website?
0
votes
0answers
11 views

Ubuntu-Files become read only in production.App down

I am a newbie and I had posted a question on stackoverflow and I got a satisfactory answer.Now the site is back online. The issue was that the files such as thin.log and all the app files had become ...
1
vote
1answer
692 views

/dev/sda1 /boot is full [duplicate]

I know there are a lot of questions like this but I've tried pretty much to understand what to do and failed. By df -h I know that my /dev/sda1 /boot is with 100% use. I'm not understanding what I ...
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 ...
1
vote
1answer
1k views

Unable to get error stack trace or error log while using php-fpm + nginx on Ubuntu 14.04

I am using php-fpm 5.5.9 along with nginx 1.4.6 on my Ubuntu 14.04 machine. I have installed them using apt-get package manager. I am unable to get a stack trace of the error that my index.php script ...
1
vote
1answer
51 views

How do I make some TCP ports accessible internal only?

I am running four instances of Tornado app at ports 9000 - 9003. I use Nginx as load balancer at the front. However user can access these ports also, for example mysite:9000 is also accessible. so ...
0
votes
0answers
35 views

Can I share a host process with linux container?

On my Ubuntu 12.04 host, I have created a linux container p2. On the host I have nginx installed and running. My question - Can I share the running nginx on host with one or more linux container? By ...
1
vote
1answer
66 views

Packages are not installling on ubuntu 12.04

I tried to install imagemagick using following command sudo apt-get install imagemagick --fix-missing But while installing I get following error nginx-full : Depends: nginx-common (= ...
0
votes
1answer
691 views

Recent Ubuntu update has killed my rutorrent/rtorrent link

I just installed the latest updates to Ubuntu 14.04. Everything seems to be working properly. rtorrent is working. nginx is running php5-fpm is running and yet when I try to connect to rtorrent ...
0
votes
0answers
76 views

pure-ftpd set default uid and gid for nginx and fpm

I have web application on my Ubuntu 14.04, I installed pureftpd it runs fine. Normally I create ftpuser and ftpgroup, create a new user with pure-pw and it works fine. After ftp uploads are ...
1
vote
0answers
375 views

Can't configure NGINX to cache the images

I have been trying to cache images that are stored in nginx server, I am quite new here and to nginx I have installed it and configure it with php5-fpm, I have been reading many tutorial regarding ...
0
votes
1answer
55 views

Is the compiled version of a binary dynamically linked to the system SSL library?

In my case I build nginx from source and I want to confirm whether I need to rebuild it whenever a new OpenSSL update is released. From what I understand either of these two commands can be used to ...
3
votes
1answer
604 views

Existing laravel 4 project gives 404 in browser

I'm trying to set up a development environment on a virtual machine running Ubuntu 14.04 LTS using Nginx and HHVM. To do this, I followed the tutorial here. This goes well with a new installation of ...
4
votes
1answer
3k views

Nginx downloading PHP file only if .php is in the URL

I know this is a popular question but I haven't found anyone with my similar issue. I can serve PHP files as long as the .php extension is not in the url. For example: If I go to localhost I am ...