Questions relating to Nginx, an open source Web Server and reverse proxy server.
Questions tagged [nginx]
919 questions
232
votes
2 answers
What is the best way to uninstall nginx
I'm trying to add new module to nginx with naxsi, but I should reinstall nginx. What is the better way of removing nginx?
Shuo
- 2,433
- 2
- 15
- 4
145
votes
3 answers
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 :)
sorin
- 10,135
104
votes
8 answers
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 a few changes to my hosts file I decided to:
sudo…
Huw
- 1,603
- 3
- 17
- 23
94
votes
3 answers
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 | cut -d: -f 2 | sort -u
nginx-core
…
muru
- 207,228
92
votes
2 answers
Nginx - disable autostart
I went through some manuals and I didn't understand yet. How do I disable autostart nginx service?
Alex Malex
- 2,692
- 9
- 28
- 26
75
votes
2 answers
What file permissions should I set on web root?
I use Ubuntu Server 10.10 and have installed Nginx web server with apt-get install nginx. It creates a default web page at /var/www/nginx-default/ and that directory has the permissions drwxr-xr-x 2 root root.
When I access the default site on…
Jonas
- 8,667
63
votes
9 answers
Nginx installation error in Ubuntu 16.04
:~$ sudo apt-get remove nginx* && sudo apt-get install nginx-full*
Reading package lists... Done
Building dependency tree
Reading state information... Done
After this operation, 5,579 kB of additional disk space will be used.
Do you want…
Mohit
- 749
40
votes
4 answers
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 error:
nginx: unrecognized service
Marius Butuc
- 5,081
36
votes
2 answers
official nginx trusty ppa gives KEYEXPIRED gpg error
I'm getting the following error every time I do apt-get upgrade:
GPG error: http://nginx.org trusty Release: The following signatures were invalid: KEYEXPIRED 1471427554
I just have the official nginx ppa installed the standard way, by having added…
Mohamed Hafez
- 805
32
votes
4 answers
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, DSA-2434-1) isn't fixed in 1.0.5-1. If I'm not misreading…
Jo Liss
- 274
27
votes
1 answer
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
Reading state information... Done
The following NEW…
zay7sev
- 373
23
votes
2 answers
Ubuntu php5-fpm unix socket
I have Ubuntu 11.10 and installed php5-fpm and I want to configure nginx. I want to use unix sockets instead of tcp sockets but I couldn't find the
/var/run/php5-fpm.sock
I have looked also
/tmp/php5-fpm.sock
Where is php5-fpm.sock file? I also…
Gok Demir
- 333
22
votes
3 answers
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 compilation I see some errors:
...
[gcc -pthread]…
Gie
- 345
- 1
- 3
- 9
21
votes
3 answers
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 version -a
OpenSSL 1.0.1 14 Mar 2012
built on: Tue Jun …
codefx
- 393
- 2
- 3
- 9
19
votes
2 answers
Can't use PHP extension Mcrypt in Ubuntu 13.10 (Nginx, PHP-FPM)
I installed a fresh Ubuntu 13.10 on my laptop. Like I usually do, I install the packages I need for Web development, which are nginx, php5-fpm, mysql, php5-mysql, php5-mcrypt and a few others.
After editing some configuration files, this usually…
Marc-François
- 401