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

learn more… | top users | synonyms

0
votes
0answers
8 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
18 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
8 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 ...
-3
votes
0answers
58 views

Why do I keep getting “403 Forbidden - nginx/1.6.2 (Ubuntu)” when visiting any of my VPS hosted sites? [closed]

Why do I keep getting "403 Forbidden - nginx/1.6.2 (Ubuntu)" when visiting any of my VPS hosted sites? I have recently changed to nginx installation from Apache2 on my Ubuntu setup on my virtual ...
0
votes
1answer
17 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
0answers
12 views

OCSP stapling with nginx [migrated]

I'm having trouble with OCSP stapling in nginx. So I start up the openssl ocsp daemon, and then I visit my site. Then it says Invalid request. I am using a private PKI and CA. SSL key: 8192bit DH key ...
0
votes
0answers
16 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
50 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
101 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
27 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
23 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
30 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
23 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
58 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
29 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
29 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
30 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
40 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
89 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
48 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
93 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
146 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
28 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
85 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
144 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
55 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
34 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 ...
-1
votes
2answers
34 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
79 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
46 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
59 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
287 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
70 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
63 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
164 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
123 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
50 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
44 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 ...
7
votes
2answers
2k 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
287 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
79 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 ...
0
votes
0answers
92 views

dependency issue while installing phpmyadmin on nginx webserver

I tried to find a solution for this problem for a long time but I cannot find it. Maybe you can help me. I have Ubuntu 14.04 installed on my system and want to use it for web development using nginx. ...
0
votes
0answers
55 views

Ubuntu php5-fpm www.conf pooling

Ubuntu VPS with 4GB RAM running wordpress with nginx, php5-fpm, and percona mysql 5.5 Daily unique visitors 8000 Maximum concurrent connections 90 For the above which is better www.conf (php5-fpm ...
0
votes
1answer
40 views

package manager odd behavior after ubuntu failed update wich included an nginx update

So, yesterday I updated ubuntu and that included an nginx update, the process warned about diffs/changes to the default file under sites-available, I reviewed the changes and prepared a new file which ...
1
vote
0answers
244 views

Server slow after Nginx errors and restarting PHP

I have a server with Intel Xeon 2xE5520 2.27GHz, 48 GB Ram, 2x146 GB 15K HDD (Raid) OS Ubuntu 14.04.01, Nginx 1.6.2, PHP 5.5.9, MySQL. Webmin. My website is video portal. Traffic is approximately ...
0
votes
2answers
760 views

Nginx over Apache with Laravel give rewrite_mod problems

Im running Nginx over Apache. I Nginx listens to port 80 and proxy it to port 8080, which Apache listens to. So far it works for direct url to files, like domain.com and domain.com/index.php. But ...
4
votes
2answers
519 views

Nginx Suddenly Appeared

I've never heard of this happening, so I'm baffled and not sure where to begin debugging. I'm on 14.04 and have had LAMP installed (as instructed here) for 3-6 months. Today, my laptop rebooted, and ...