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

learn more… | top users | synonyms

0
votes
0answers
29 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
21 views

Switch tasks on active process to new process

What I'm going to explain is really about nginx processes, so maybe it can be done in nginx, or maybe its a Linux feature. In anyway, I hope it's possible. I have an ningx process running, that looks ...
1
vote
1answer
56 views

Bash script to remove item from Nginx cache

I have Nginx running in Ubuntu. I'm trying to write a script that deletes an item from the Nginx cache. Script: clear_single_cache_object.sh #!/bin/bash echo "Deleting: " $1 grep -lr $1 ...
0
votes
1answer
58 views

How to replace nginx with apache Ubuntu 14.04

I just recently installed Ubuntu 14.04. I am now setting up my LAMP stack: http://ubuntuserverguide.com/2014/06/how-to-install-lamp-in-ubuntu-server-14-04-lts.html, and on installing apache2 with: ...
0
votes
1answer
29 views

How to replace package install of nginx with compiled from source?

I installed nginx a while ago using the ubuntu PPA repository. Now I want to compile nginx from source so I can compile in and use the geo-ip module. I know how to compile the new nginx from source. ...
0
votes
0answers
9 views

Using repos vs compile: hot wo replace Nginx from repo with a compiled Nginx?

Sometime ago I used Kura's PPA to install Nginx+Pagespeed on my VPS. I would like to update it to the newest version, but the latest packages from Kura aren't so recent and I'm thinking about ...
-1
votes
1answer
20 views

nginx reinstalled automatically?

i had once nginx installed and after same time i removed it I use apache as my webserver now when i tried to go to my own onion address in my tor browser, i get the welcome to nginx site?? how is ...
0
votes
0answers
10 views

Html of page appends many times to screen nginx 14.04

I install nginx, and configure basic virtual host. But I found strange error. It append html of my page many times. Maybe some can help me? I append my config in gist file. gist
0
votes
1answer
41 views

Installed Nginx with Apache Ubuntu 14.04

I installed Nginx, but I have Apache too. How I can run Nginx? When I go to my IP I am getting /var/www/ directory. I already try to figure out solving in internet but still can't get what I am doing ...
0
votes
0answers
19 views

Limit total data network transfer per month

I have a Digital Ocean server running nginx which is limited to 1000 GB of data transfer per month before I have to pay for more bandwidth. What is the best way to log how much data has been ...
0
votes
1answer
29 views

Problems with Nginx and php5-fpm

I have the next config for nginx, url /website/blog/index.php works but url /website/blog/ doesn't works server { listen 80; root /var/www/site; index index.html index.htm index.php; ...
0
votes
0answers
30 views

Set up Postfix to send but not receive mail

I want to set up my web server (Ubuntu 14.04) so that I can use contact forms, forum email confirmations, etc. without having to go through Gmail or some other server. I don't want to receive emails, ...
1
vote
1answer
132 views

Updating PHP on Ubuntu 12.04 with Parallels Plesk

I've tried a few times to update php on my server from version 5.3 to the latest 5.5 with: sudo add-apt-repository ppa:ondrej/php5 It seems to work fine but it also updates Apache which I think is ...
0
votes
0answers
48 views

Ubuntu RTMP server output video over cvbs

I want to stream video from Adobe_Flash Media Live Encoder (FMLE) to an RTMP server (nginx, ffserver or crtmp) installed on a Cubieboard (cb2), and output that video stream over CVBS (RCA yellow, red, ...
0
votes
0answers
24 views

Any guide to run Nginx alognside Apache2 on Ubuntu 12.04 Server (VirtualBox)?

Is there any guide/tutorial/links for running Nginx alongside Apache2. If yes please provide the same ASAP. I'm running Ubuntu 12.04 server on Virtual Box. I had already installed & working ...
1
vote
1answer
48 views

Suggestions for rolling out a WebServer and Load Balancer with Juju Charms

I'm setting up a Maas/Juju Ubuntu 14.04 cluster and need some advice. The goal is to have HAProxy load balancing either Apache or Nginx that I can configure to host a set of php files that will be ...
0
votes
0answers
133 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 ...
1
vote
1answer
71 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
37 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
36 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 ...
5
votes
2answers
871 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
170 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
61 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
81 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
43 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
1answer
36 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
172 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
522 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
489 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 ...
1
vote
1answer
461 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
583 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
117 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
27 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
113 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
244 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
142 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
110 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
19 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
74 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
121 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 ...
-1
votes
1answer
525 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
62 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
100 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
132 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
245 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 ...
-1
votes
2answers
5k 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
141 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
21 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
995 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 ...