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

learn more… | top users | synonyms

0
votes
1answer
64 views

How can I find out how nginx was “./configure”d for Ubuntu?

nginx is my web server of choice. It doesn't provide loadable module support as of yest, therefore everything has to be compiled and linked into the final binary. How can I find out which ...
4
votes
1answer
2k views

Can't pass PCI scans for vulnerability compliance SSL_OP_DONT_INSERT_EMPTY_FRAGMENTS

I'm trying to pass a pci scan, I'm on Ubuntu 12.04 lts server and Nginx. I've tried everything I know and did a lot of research... apparently seems that need to disable a setting in OpenSSL which I ...
0
votes
1answer
378 views

+30 sites using 1gb ram on nginx

I have a LEMP setup (Ubuntu 12.04, Nginx, Mysql, PHP 5.3 and APC) and I have 30 sites hosted on it. They all are wordpress sites. It uses about 1GB RAM. Is this normal? I thought nginx would use less ...
0
votes
1answer
690 views

hiphop, nginx, spdy

I'm about a month young at linux and brand new to ubuntu. I can do this to install hiphop https://github.com/facebook/hiphop-php/wiki/Building-and-installing-HHVM-on-Ubuntu-12.04 (I installed ...
24
votes
2answers
17k views

Trying to start nginx on VPS, I get “nginx: unrecognized service”

Following the How to install rails and nginx with passenger on Ubuntu tutorial from DigitalOcean.com, the seventh step manually starts nginx: sudo service nginx start but fails with the following ...
6
votes
1answer
786 views

deploy multiple wordpress sites with juju

This may seem like an obvious question, but can you deploy multiple (distinct) wordpress sites with their own databases etc? But using a single deployment? So not dedicated vm's for each sites ...
2
votes
2answers
2k views

Recompile Nginx with nginx-push-stream-module?

I've installed Nginx on Ubuntu with apt-get. Now i need to somehow add the module: Their install suggests to recompile Nginx with the module: ...
2
votes
1answer
484 views

Is nginx-extras supposed to have passenger compiled with it?

From the way the Launchpad description reads, the nginx-extras package should have the Passenger module installed with it. However, when I install nginx-extras and try to enable Passenger, I get the ...
2
votes
2answers
3k views

Ubuntu 11.10 Nginx and fastcgi-php not working

I have nginx successfully running on my home server. I dont have a .com specified because it is just a trial run until I get everything figured out. I can navigate to the server ip address and the ...
2
votes
2answers
3k views

nginx dependency problem trying to upgrade

Trying to upgrade my Ubuntu 12.04 vps I get the following error: henrik@neung:~$ sudo apt-get upgrade [sudo] password for henrik: Reading package lists... Done Building dependency tree ...
0
votes
1answer
101 views

Starting LEMP server at startup

Based on this blog post I've installed LEMP server. Is there any easy way to add this web server: PHP-FPM, Nginx, MySQL into startup applications list?
13
votes
1answer
42k views

What is the best way to uninstall nginx [closed]

I'm trying to add new module to nginx with naxsi, but I should reinstall nginx. What is the better way of removing nginx?
1
vote
1answer
1k views

uwsgi can't find python plugin

I'm trying to deploy a python app to my Ubuntu 12.04.1 VPS running Nginx / uWSGI. I've setup my server following this guide. When I restart uWSGI I get this message: nickd@my-vps:~$ sudo ...
2
votes
4answers
872 views

HTML5 websocket-support for NGINX

I need websockets in a project for HTML5 and PHP, but it don´t works. I read something about that NGINX is not supporting them. Is there a possibility to install a plugin that brings me the support ...
1
vote
1answer
358 views

I deleted /etc/nginx by mistake. How to fix this?

I deleted etc/nginx by mistake and now i am stuck. I tried compiling by source and repository but didn't get it back. Some please help me asap to fix this problem. A detail explanation will be most ...
0
votes
1answer
96 views

Do I need duplicate values in NGINX [sites-available] configuration? [closed]

Do I need duplicate all new configuration entries (location = ... ) from #Part 1 to PART 2 in Nginx virtual-host configuration file? Eg.: FIRST PART of /etc/nginx/sites-available/mywebisteurl.com ...
2
votes
0answers
384 views

Why rewrite directive causes “301 Moved Permanently” with Nginx?

Below is a much simplified version of what I have in the configuration file of a server run by Nginx 1.2.5, yet it causes 301 Moved Permanently with Location: http://example.com/phpmyadmin/ before ...
0
votes
2answers
2k views

How to configure nginx for Wordpress

I've installed everything that is needed by Wordpress i.e. nginx 1.2.5 (built from source on /usr/local/nginx), php-fpm with other php packages and mysql via apt-get. I downloaded wordpress-3.4.2.zip ...
3
votes
2answers
1k views

How to move over from init.d to upstart for nginx

I have an init.d script for nginx that normally works fine. However, after a reboot it doesn't work properly and the worker process would die leaving just the master process. nginx has some mongodb ...
2
votes
1answer
465 views

Why Nginx development version on Ubuntu 12.04 LTS and not Stable version?

I am having ubuntu 12.04 64 bit running with nginx 1.1.19 as per nginx release 1.1.19 is a development release.So why do ubuntu LTS shipped with development release rather than stable release.
0
votes
1answer
485 views

check what process was causing the problem of high cpu load

I'm running nginx wordpress server in KVM using 12.04 server x86. It was running very well about 4 month until 2 hours ago. I found that my website is down and no ping response. Virt-manager logged ...
1
vote
1answer
290 views

Nginx and automatic updates

I'm on Ubuntu 12.04.1 with unattended-upgrades configured for automatic security updates, and I installed Nginx by first adding deb http://nginx.org/packages/ubuntu/ lucid nginx deb-src ...
1
vote
2answers
11k views

PHP-FPM - Nginx - phpMyAdmin - 502 bad gateway

I have installed and configured PHP-FPM, Nginx, and then phpMyAdmin. When I access the main site everything works fine but as soon as I go to http://mysite.com/phpmyadmin I get a 502 bad gateway ...
1
vote
1answer
954 views

apache + nginx(for only one subdomain)

I have a nice little Server with Ubuntu 12.04 LTS with Apache controlled by plesk. Now I've installed nginx for my Gitlab subdomain. But now nginx wants to control all. How can I configure the nginx ...
3
votes
0answers
627 views

warning on nginx auto start disable [closed]

I removed nginx from startup by running: $ sudo update-rc.d -f nginx disable I get the below output: update-rc.d: using dependency based boot sequencing insserv: warning: current start runlevel(s) ...
1
vote
1answer
1k views

Nginx and directory list doesn't work:

I have done just as in the tutorials but is simply not working: server { location /abc { autoindex on; root /home/user/abc/; } } It gives me 403 Forbidden, what I'm ...
4
votes
1answer
1k views

reliably restarting services using upstart or runit

I want to reliably restart my app and web server processes on crash. If I understand correctly, runit starts every service as a child process. If the child process crashes this sends a signal to the ...
0
votes
1answer
2k views

Xampp is not running on ubuntu

I have nginx ,Apache2 ,Xampp installed on Ubuntu 12.04 Nginx is running on port 80 First I stopped Apache2 using /etc/init.d/apache2 stop Now I started Xampp using /opt/lampp/lampp restart I ...
0
votes
1answer
833 views

I upgraded my server to 12.10, why does PHP not work with nginx?

I upgraded and now I can't use my nginx's proxy_pass arguments on my Ubuntu server to work with PHP. I keep getting 502 Bad Gateway errors. Why is this, and how do I fix this?
1
vote
1answer
726 views

Install Joomla on NGINX in Ubuntu 12.04

I'm installing Joomla on NGINX and so far everything is going fine until I get to the page where is checks Pre-Installation parameters. It says Database Support : No I've already checked ...
0
votes
1answer
734 views

Will my nginx reverse proxy cache work?

I have a website running Nginx and Apache Apache deals with PHP files, and Nginx the html static files We have now changed the site so there are no html static files, only PHP files and this has ...
0
votes
1answer
1k views

How to use GeoIP With Nginx On Ubuntu 12.04? [closed]

I want a tutorial to help me in using GeoIP with Nginx on Ubuntu 12.04.
1
vote
1answer
636 views

Installing FASTCGI Mono for running ASP.NET on NGINX

I am a novice at Ubuntu and I've been given the task of installing and configuring NGINX to run ASP.NET applications. This is probably a stupid question but I'm using this tutorial as a starting guide ...
0
votes
1answer
723 views

How to give different port for Apache and Nginx in 10.10?

I am curios to know how can we assign different port to Apache and Nginx in 10.10. I installed nginx first then apache, so when I start my machine, nginx is taking default port: 80. I have to ...
7
votes
2answers
5k views

Install uwsgi 1.2.5 via pip

Welcome, Currently I'm trying to install latest uwsgi on my VPS (Ubuntu 11.10) based on instruction from the site http://projects.unbit.it/uwsgi/wiki/Quickstart pip install uwsgi During ...
2
votes
1answer
2k views

Nginx with SSL package

I'm trying to install nginx using the package manager. Usually I'd do this: sudo apt-get install nginx but I need nginx to have SSL support. I could compile nginx from source with SSL support, but ...
0
votes
1answer
145 views

How to install the nginx manpage when I installed nginx from source?

I installed nginx 1.2.0 from source on ubuntu 12.04 (precise) but it says there is no manpage entry for nginx when I run man nginx. How to I install it?
15
votes
1answer
10k views

Nginx - disable autostart

I went througn some manuals and I didn't understand yet. How do I disable autostart nginx service?
0
votes
2answers
218 views

usergroup permission issues

I tried deleting files on my dekstop (highlight files, press delete) in /usr/share/nginx/www but I'm getting permission denied issues. What I did was, add www-data and barsoom(current user) to a ...
11
votes
3answers
7k views

After installing nginx with Passenger support in '/opt', why won't it start from 'init.d'?

I went through a tutorial http://craiccomputing.blogspot.com/2010/10/passenger-3-nginx-and-rvm-on-mac-os-x.html and everything was ok. There were no errors. Nginx with Passenger support was ...
9
votes
1answer
15k 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 ...
3
votes
2answers
286 views

Setting up my www directory correctly

I'm quite new to Ubuntu and Linux in general. I need to create a my www directory (in /home) and set the permissions/ownership correctly so that any new files and directories created by myself (via ...
0
votes
1answer
569 views

403 Error when using nginx to access file other than index.htm

I set up nginx on Ubuntu 12.04 and when remotely accessing a file other than the index.htm/php/html, the server says that access is forbidden. I tried to search for a solution but no luck. Any ...
0
votes
1answer
318 views

Index.html of VPS not working, redirecting to virtual host domain

When I type the domain name I linked to my server IP, one of the virtual host websites I have on the server comes up, rather than the index.html file I have as default on the server. Why is this so? I ...
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)?
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 :)
1
vote
0answers
337 views

nginx does not respond requests for rails app [closed]

I try to deploy my app to EC2 son Amazon via nginx and passenger. I did what the passenger installation comments say. But when I run my nginx and try to enter my site it does not respond even withan ...
1
vote
1answer
846 views

How can I upgrade nginx after adding ppa:nginx/development?

I've installed nginx via the ppa stable repository via  add-apt-repository ppa:nginx apt-get install nginx which adds the stable release. But now I'd like to switch to the development ...
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 ...
31
votes
4answers
1k views

Does Ubuntu generally post timely security updates?

Concrete issue: The Oneiric nginx package is at version 1.0.5-1, released in July 2011 according to the changelog. The recent memory-disclosure vulnerability (advisory page, CVE-2012-1180, ...