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

learn more… | top users | synonyms

1
vote
1answer
1k views

How do I install nginx modules

I just installed nginx through apt-get repository. But, unfortunately HttpAuthDigestModule is not included while installing. This is how to install from source - ./configure ...
0
votes
1answer
817 views

Run Sickbeard behind NGINX

I've been at this for so long now, trying to get my sickbeard to run behind nginx and having no luck at all, excuse my noobness. Here's what I've tried. I have sickbeard installed in[b] ...
0
votes
1answer
605 views

Can't install php5-fpm after upgrade to 12.10

I upgraded to 12.10 from 12.04 and began getting gateway errors when I accessed phppgadmin via nginx. After looking around I realised that the required program php5-fpm wasn't running and further what ...
1
vote
1answer
674 views

Why is my Nginx package not upgraded?

I'm trying to upgrade my nginx install to 1.3+. I already added the PPA for nginx/development and updated with apt-get update. I ran this command to install nginx: me@server:~$ sudo apt-get ...
0
votes
1answer
817 views

Setting up websites with Ubuntu 13.04 server and Nginx

I'm trying to setup 2 websites on my server ---> A_website and B_website I don't have a domain name registered and I just want to use the site privately so I'll be accessing it via the static IP ...
2
votes
2answers
438 views

Is the nginx charm stable for production?

I'll like to use the nginx charm in production and will like to know if it's stable and ready enough for production. Yes, I'm talking about specific juju charm for Nginx. I'm talking about this: ...
5
votes
4answers
3k views

Which interprets PHP faster on Ubuntu Server 12.04 32-bit, Apache or Nginx?

I have currently installed Apache on my 12.04 32-bit Ubuntu server, but I'm interested into switching to Nginx. I have read a number of comparisons and reviews, where Nginx is faster than Apache ...
10
votes
3answers
5k views

How to enable TLS 1.2 in Nginx?

How do I enable TLS 1.1 and 1.2 for SSL connections in my Ubuntu 12.04 server? I am using the following version of nginx and openssl library. $ ./nginx -v nginx version: nginx/1.2.3 $ openssl ...
0
votes
1answer
302 views

kworker blocking port 80 after update

After an update and reboot, my file server doesnt work as expected anymore - port 80 gets blocked right away by a process kworker, making it impossible for nginx to use it. :~# ps aux | grep kworker ...
0
votes
1answer
87 views

Access to the site without a port

My nginx listen on port 33333 listen 33333; in /etc/nginx/sites-available/ I have: server { listen 33333; server_name domain.com www.domain.com; My website work only If I run: ...
1
vote
2answers
9k views

Nginx will not start

I'm trying to run service nginx restart but I get this error: root@user /etc/nginx/sites-enabled # service nginx restart Restarting nginx: nginx: [emerg] bind() to 0.0.0.0:80 failed (98: Address ...
2
votes
0answers
1k views

How do I fix “chdir(): No such file or directory [uwsgi.c line 1723]” on in wsgi on nginx?

I have treeio project in my home directory, now I want to run that treeio in nginx server. Already treeio can independently run on Django comes with the source. I don't want to run that in Django ...
2
votes
2answers
924 views

a catch-22 situation with apt-offline

I am installing ubuntu 12.04 onto a HP 1U rack server that is in a lab with no internet connection. I need to install PHP, Nginx and other packages so that I can run my web app on it that will serve ...
2
votes
1answer
1k views

How do I point a domain to an Ubuntu VPS?

I've recently purchased a VPS hosting (rackspace) and want to configure a domain for this account. I've configured nginx and other stuff to run Ruby on Rails on it. And everything works perfectly when ...
0
votes
1answer
2k views

Nginx Basic Auth and subfolders

I have a problem with subfolders in a basic auth procted folder. In the protected folder i have a folder named phpmyadmin, which contains phpmyadmin. Im not able to run phpmyadmin, when basic is ...
1
vote
2answers
135 views

Upgrading Nginx on Raring Ringtail

I have have added ppa:nginx/stable to my apt sources. And have done an update. But when i try to upgrade, it fails to upgrade. Here are the list of commands. sudo add-apt-repository ppa:nginx/stable ...
1
vote
1answer
709 views

NginX access configuration

I'm using ubuntu x64 server with nginx as webserver. In my company, we configured intranet (local) dns server so that, when you enter domain1.com, it goes directly into defined LAN ip adress. We ...
1
vote
1answer
3k views

How to set-up Nginx correctly? “Welcome to nginx” is not displayed

I installed Nginx on my Ubuntu Server 12.10 using this instructions https://www.digitalocean.com/community/articles/how-to-install-nginx-on-ubuntu-12-04-lts-precise-pangolin , the Nginx was installed ...
2
votes
1answer
2k views

Localhost always show Welcome to nginx!

I was working fine on my projects. After restarting my machine, I tried to access a local project and I get the message "Welcome to nginx!" even if I want to open phpmyadmin. What is the problem and ...
2
votes
1answer
447 views

Can Ubuntu Server be run through Ubuntu Desktop

I have both Ubuntu Server and Ubuntu Desktop on a hard drive. But I was wondering if there is a way to have the server running while I am on the Desktop version? Does this make sense?
0
votes
1answer
73 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
446 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
715 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 ...
27
votes
3answers
22k 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
864 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
610 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
4k 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
106 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?
15
votes
1answer
55k 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
2k 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
966 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
485 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
97 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
461 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
2k 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
482 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
530 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
336 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
12k 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
1k 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
686 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
2k 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 ...
5
votes
1answer
2k 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
837 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
776 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 ...