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

learn more… | top users | synonyms

0
votes
0answers
20 views

Incompatibily bet on Ubuntu 12.04, I can't install nginx with uwsgi and naxsi on the same server

I'm making a Project about security aplications, and i'm having an incompatibility problem using nginx with naxsi and uwsgi modules on the same server. The Ubuntu version is 12.04 LTS. I can't ...
0
votes
0answers
13 views

APC Extension unable to load dynamic library /usr/lib/php5/20090626/apcu.so

I have installed APC using this Tutorial https://www.23systems.net/2009/07/installing-alterative-php-cache-apc-with-plesk-on-ubuntu/ and all is running fine. Even APC is caching everything and apc.php ...
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 ...
2
votes
3answers
26 views

Nginx logrotate logs

I am running Ubuntu 15.04 and have a standard installation of nginx (apt-get install nginx) running. Everything is running fine but I notice that the nginx logs are being rotated but nginx carries on ...
0
votes
0answers
16 views

Complex postfix, www, odoo and nginx server configuration on Ubuntu 14.04.2

I am looking for help regarding a complex issue, at least for me. My target is to use that server as: - epr server (odoo8) - mail server (postfix) - fileserver (equivalent to WeTransfer, ...
0
votes
0answers
16 views

How do I send nginx access and error logs to syslog?

I have rsyslog configured to ship logs to another server. I have been trying to setup nginx and rsyslog to use a socket, like /dev/log, to transfer logs into the local rsyslog and then let it handle ...
0
votes
1answer
50 views

Error with Node and Gulp

I am trying to install paperwork, and while following https://github.com/twostairs/paperwork/wiki/Installing-Paperwork-on-Ubuntu-14.10 I got near the very end when I get this. :/var/log/nginx# ...
1
vote
3answers
3k views

Perfect forward secrecy in Ubuntu 14.04 default installation

Does Ubuntu 14.04 support and enable perfect forward secrecy ciphers in the default TLS configuration of servers such as nginx, dovecot and postfix? Previous versions of Ubuntu such as 12.04 did not ...
5
votes
1answer
10k views

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 ...
0
votes
1answer
76 views

Testing nginx in a Docker container in on Ubuntu Core?

Followed Setting up Ubuntu Core on a KVM It shows you how to start the vm and forward ports back to your host machine. Followed Snappy Tour It shows you how to install Docker on Ubuntu Core ...
1
vote
1answer
20 views

How to prevent Apache and use NGINX alone?

I've installed Nginx Mainline/Dev, PHP 5.6 from webupd8 repo and MariaDB 10. But with Software Updates/PHP update, Apache is being installed also. How can I prevent this? I just don't like apache ...
-1
votes
0answers
19 views

Route 53 Amazon dns server not found

I just configured my domain on Route53, for ubtuntu server i have with public ip, as following: but when i try to go to my site, i found "server not found" error or "page is not available" on ...
2
votes
0answers
64 views

How do you solve apt-get update error “Could not resolve”?

I just purchased server space with a VPS provider. The first thing I wanted to do is install the lastest version of Nginx. I followed the official instructions from Nginx as described here. Everything ...
-1
votes
0answers
17 views

[14.04 NGIX]Which is that file where i need add rewrite rules

I have big problems with my server When i add rewrite rules nginx.conf it allways kill my server (nginx not start) is nginx.conf that file where i should add rewrite rules or is it some another ...
0
votes
1answer
16 views

Apache User Permissions

I am trying to Create a permission set for my nginx Web Application as below; OS: ubuntu nginx User: www-data www-data user's primary group: manage # su www-data - $ groups manage Path to ...
0
votes
1answer
122 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 ...
10
votes
1answer
18k 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 ...
0
votes
0answers
18 views

php not working nginx load balancer

I am trying to set up my server so that when all traffic coming throught the email_admin directory are worked through the current server otherwise they are sent to myapp1 this is what my ...
16
votes
1answer
58k 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?
0
votes
0answers
46 views

Bad Gateway on Nginx Server

I have a nginx server that I was trying to setup a wordpress (Actually multiple) sites on. I used the tuxlite script to setup my lemp server and add security, and everything seemed to work fine. ...
2
votes
1answer
4k 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 ...
3
votes
2answers
5k views

Cannot remove NGINX

I have been experimenting with nginx as a webserver for php files. I come from an Apache background but I wanted to try it. I recently had an issue with it and needed to switch back to Apache. I ...
1
vote
2answers
307 views

Nginx and pagespeed installation issues in ubuntu

I have put my app (implemented a website with the help of angularjs) on amazon EC2 and have installed nginx and thin on it I am having issues with angularjs with respect to performance. So I decide ...
0
votes
2answers
42 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
24 views

Trouble getting nginx, unicorn and ruby on rails application working. Internal Error with no log ouput

I am having some issues getting my rails application up and running with nginx and unicorn. None of the different parts are printing out an error: app/log/unicorn.log app/log/production.log ...
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 ...
18
votes
4answers
26k views

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 ...
0
votes
1answer
33 views

php-fpm changed user can't create pid and sock files

I want to execute php-fpm with a different user in my Ubuntu workstation, so I changed the /etc/php5/fpm/pool.d file according to some tutorials I found: user = myuser group = myuser But when I try ...
1
vote
2answers
57 views

Forwarding Multiple port to Single port using nginx

I want to proxy pass all requests coming from a series of ports into single port. I am able to proxy pass a single port to another like so: server { listen 3333; server_name test.in ...
2
votes
3answers
103 views

How to lock user to one directory

I have built a few Virtual Hosts using nginx but now I want to have some users to modify them without them being able to edit anything else outside the host directory. I have tried so many things ...
0
votes
0answers
20 views

Browser throws exception when connecting to my Ubuntu instance

Here is my /etc/nginx/sites-enabled/"myapp" conf file. I have ssl disabled, so all requests are routed through non-ssl connection. Additionally, I have commented out the ssl stapling on directive. ...
0
votes
0answers
59 views

Nginx compile error

./configure --sbin-path=/usr/local/sbin --conf-path=/etc/nginx/nginx.conf --error-log-path=/var/log/nginx/error.log --http-log-path=/var/log/nginx/access.log --pid-path=/var/run/nginx.pid ...
0
votes
2answers
132 views

How to install ffmpeg on ubuntu? [duplicate]

For transcoding video I need to use ffmpeg. I have tried to install but I have faced with problems. Is anyone that can help with this case or can anyone offer any weblink or guide where I can follow ...
0
votes
1answer
25 views

How do I remove nginx?

I have some problems with nginx configuration. I found the problem and I need to uninstall it. I used the commands apt-get remove nginx and apt-get purge nginx But the nginx is still ...
0
votes
1answer
43 views

How to zero downtime restart nginx server

How to send HUP signal and zero downtime restart nginx server using Node.js file
-1
votes
1answer
41 views

Connect to mysql on another device [duplicate]

I have two device on my network LB (192.168.1.10) and RP1 (192.168.0.20) I am wanting all the MySQL stuff to be hosted on the LB and all the web stuff to be hosted on the RP1. I have installed ...
4
votes
2answers
9k views

NGINX and PHP downloades index.php instead of processing it

I have been banging my head for 2 days now. The issue is that the index.php is downloaded instead of being processed. I'm using Ubuntu 14.04 , Nginx, php5. The nginx/site-available/default is as ...
28
votes
3answers
23k 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 ...
12
votes
3answers
9k 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 ...
0
votes
0answers
72 views

How to deploy python3+django 1.7+uwsgi+nginx on a fresh ubuntu server 14.04 64bit

I am a newbie. I find there is few detailed guide for this. So I come here for help. related information: django project path: /root/uxn/exam My site ip: 120.44.244.38
0
votes
0answers
38 views

502 Bad Gateway on redeploy

I am redeploying a Meteor application on DigitalOcean, and I am getting the following error message: 2015/03/24 13:58:58 [error] 4741#0: *10170 connect() failed (111: Connection refused) while ...
0
votes
0answers
56 views

Server restart question

I am trying to run a new version of an application on my server. Ive already scp'd the app onto my box, but in order for the changes to take effect, I must restart nginx (correct?). When I go to ...
0
votes
1answer
39 views

How do I install nginx when a dependant package is broken?

Seems like a really simple question. But, I'm trying to create a docker container containing nginx and it breaks. My dockerfile contains... FROM ubuntu:14.04 RUN apt-get -qq update RUN apt-get ...
0
votes
0answers
60 views

service nginx start is ok but nginx not running

I have a ubuntu 14.04 machin with nginx, which was working fine until I last used my computer that was last night. Today when I started my computer and navigated to 127.0.0.1 it said server not found ...
1
vote
0answers
113 views

Unable to install package

I'm trying to install a few packages, the command is : sudo apt-get install nginx-extras passenger But I'm getting an error afterward: Reading package lists... Done Building dependency tree ...
0
votes
1answer
49 views

Redirecting depending on directory

On my current load balancer I have set it up to redirect to my cluster like this: upstream myapp1 { server 192.168.0.20; #RP1 } server { listen 80; location / { proxy_pass ...
5
votes
2answers
5k 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 ...
0
votes
0answers
12 views

RAMFS vs REDIS DB

I making a weather app. It would work as follows [Weather API] - [My Server(Relay)] - [User App] I will use the third party paid API to get the latest weather feeds. Feeds will be in JSON format. I ...
0
votes
0answers
257 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
34 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 ...