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

learn more… | top users | synonyms

0
votes
0answers
11 views

Trouble with permissions (Ubuntu 14.04, /usr, apt-get) [duplicate]

I believe I may have messed up. I'm setting up a rails server with passenger/nginx. Upon installing passenger's nginx module, I installed it to the directory where nginx currently resided ...
0
votes
0answers
12 views

Server Not Allowing acunetix Crawler

My server is not allowing acunetix to run on it. acunetix is showing an error Sever unexpectedly closed the connection. I am running Drupal on a LEMP stack I am looking forward to see ...
0
votes
0answers
23 views

Migrating Apache to Nginx problem

Ubuntu 12.04, I am trying to migrate to Nginx but i´m getting a 403 Forbidden message. Can anyone help me? This is my /etc/nginx/sites-available/default server { listen 80; root /srv/www; ...
1
vote
0answers
25 views

Unable to run apt-get update openssl on 12.04

I am trying to run sudo apt-get update openssl on Ubuntu Server 12.04, however when I do, I get the following error: Starting nginx: invoke-rc.d: initscript nginx, action "start" failed. dpkg: error ...
2
votes
2answers
22 views

Set different domain name on different port

I am new in Ubuntu. I have created my website in node. where I am using different port for different modules. like http://localhost:5555/ this is for admin, http://localhost:5050/ this is for ...
0
votes
1answer
55 views

Help with messy Nginx install (Trusty 14.04 Server)

I'm a bit of a noob here. I wanna try out nginx, but got some errors when installing: Reading package lists... Done Building dependency tree Reading state information... Done The following ...
0
votes
0answers
21 views

NGINX Auth support and MYSQL

I have installed NGINX server. The requirement is to allow only certain IP addresses to access this service. The list of allowed IP are stored in a MYSQL database. I was able to install and configure ...
0
votes
0answers
25 views

How to setup oauth proxy on nginx

I am trying to setup oauth proxy on nginx using this https://github.com/bitly/oauth2_proxy I don't seem to get it right please can someone help me? Thanks,
0
votes
1answer
27 views

Nginx conf changes doesnt apply

I am using Nginx 1.8.0 on Ubuntu 12.04 with multiples domains, right now all my websites are online and working but I would like to change the port and others things in the conf of each domain (inside ...
1
vote
2answers
26 views

How to stop an Upstart Job(Service)

I thought this was easy but it does not seem to. Here is my system info: # nginx -v nginx version: nginx/1.8.0 # uname -a Linux ip-10-0-0-247 3.2.0-69-virtual #103-Ubuntu SMP Tue Sep 2 05:21:29 UTC ...
1
vote
0answers
21 views

Why is my NGINX downloading files?

I've set up a redirect so I can serve my PHP files without the .php extension, but whenever I visit a "clean" url, my browser downloads the file, suggesting NGINX isn't hosting it as a PHP file. How ...
0
votes
0answers
51 views

Mysql not installing on server and throwing error after root user password entry

I currently have a server on Digital Ocean running their standard Rails application (Nginx, Unicorn, Postgres, Ubuntu 14.04). When I try installing mysql with apt-get install mysql-server It seems to ...
0
votes
1answer
22 views

configure two LAN cards on a local server and access a locally hosted web app on LAN and on internet

I have a ubuntu 14.04 LTS machine running as local server (I have a web app running on it). I have two questions as below. 1] How to configure two LAN cards on the above server ? 2] After ...
0
votes
0answers
40 views

Server at OVH (Ubuntu 14:010) work on SSH and HTTP ONLY from my cellphone(4g)

Hope you'Re all going good. So yeah this is alittle problem i have with the VPS i took at OVH. They say everything is fine in their end. But i managed to install nginx on the server and even then ...
0
votes
1answer
25 views

In what folder does Ngnix gets installed in Ubuntu Server

I'm trying to understand the Nginx folder structure. In what folder (or folders) does Ngnix gets installed in Ubuntu Server? Thanks
0
votes
0answers
85 views

Nginx add_header Access-Control-Allow-Origin * which File?

I am using Plesk 12 and could not find where to add that line location ~ \.(ttf|ttc|otf|eot|woff|woff2|font.css|css|js)$ { add_header Access-Control-Allow-Origin "*"; } Would be happy for ...
0
votes
1answer
19 views

Bug with nginx and naxis, incompatibility problem

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 think that ...
0
votes
1answer
46 views

403 Forbidden Error LEMP

I have a nginx server running with a wordpress and Ajenti setup working like a champ. As well as gitlab and owncloud which both work, just not used. But when I try to access a new setup, opencart, ...
2
votes
1answer
111 views

Cannot stop nginx service

It took me a while to find out, but as of some recent-ish update, I can't stop Nginx on any of my Ubuntu 12.04 or Ubuntu 14.04 servers. I run sudo service nginx stop, and I get nginx start/running, ...
0
votes
1answer
110 views

Unable to find where external IP address is being blocked (nginx, nodejs, linksys router)

So while it's not ideal, I currently have a web server running Ubuntu 14.04 behind a Linksys router. On the router, I have forwarded ports 22, 80, and 435 for SSH, HTTP, and HTTPS respectively. Now, ...
1
vote
0answers
20 views

BIND configured, DNS configured. No joy!

I have a GoDaddy domain, I've adding host names (ns1, ns2 of the domain through GD), I've pointed the name servers to my VPS server IP. So we are ok so far, great. I've resorted to install VestaCP on ...
-1
votes
2answers
32 views

nginx erreur it didn't open

please nginx in my server did start please follow me root@s45-****:/home/arabico# nmap 45.**** PORT STATE SERVICE 22/tcp open ssh 5/tcp open smtp 80/tcp open http Nmap done: 1 IP address (1 ...
1
vote
1answer
30 views

Ensure Services start on boot and perform an Security Audit

I'm quite new to Ubuntu Server (14.04) and I need to make sure Nginx/php-fpm/MySQL start up automatically on boot. Where do I need to check to make sure they are set to start on boot and how to set ...
0
votes
0answers
14 views

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

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 think that ...
0
votes
0answers
96 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 ...
2
votes
3answers
288 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
103 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 ...
1
vote
1answer
39 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 ...
2
votes
1answer
259 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
1answer
25 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
190 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
26 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
174 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
76 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
39 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
88 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
29 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
81 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
336 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
308 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
28 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
118 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
192 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
115 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
76 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
74 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
56 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
145 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
153 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
56 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 ...