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

learn more… | top users | synonyms

1
vote
1answer
19 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
16 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
50 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 ...
0
votes
0answers
23 views

setup apache and nginx for nodejs [on hold]

I have a ubuntu server which currently hosts my website and also some development websites, I am currently using apache. So for example if I do www.c11ada.com this will take me to my website and if I ...
0
votes
0answers
14 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
15 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
59 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 ...
0
votes
0answers
16 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 ...
0
votes
1answer
30 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# ...
0
votes
0answers
43 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. ...
0
votes
0answers
18 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 ...
0
votes
1answer
26 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 ...
0
votes
0answers
18 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
57 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
126 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 ...
1
vote
2answers
47 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 ...
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
38 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
37 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 ...
0
votes
0answers
67 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
33 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
44 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
37 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
50 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
108 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 ...
2
votes
3answers
99 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
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
231 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
30 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
95 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
198 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
59 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
36 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 ...
0
votes
2answers
40 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
115 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
1answer
50 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
67 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
321 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
71 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
66 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
172 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
143 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
57 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
48 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 ...
8
votes
2answers
3k 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
321 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
88 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 ...