Questions relating to Nginx, an open source Web Server and reverse proxy server.

learn more… | top users | synonyms

0
votes
0answers
10 views

What is typically evolve in setting up an Ubuntu server to be able to send information from a form through an email

I recently moved from a shared hosting to a self managed server, in the share server I had a contact form that was working find but when I tried to use this form in my new self-managed server it ...
-1
votes
0answers
8 views

Where is my nginx etc folder?

I installed nginx-1.7.5 + rtmp module, installation was fine, i can see the nginx welcome page, and the streaming plays fine, now i want to create server blocks, but when i want to access " ...
1
vote
0answers
17 views

Nginx restarts when told to stop

I'm using AWS and have a setup script that runs after EC2 instance creation. It installs a bunch of packages, writes some config files, etc. It's been working well for a while. Now, nginx fails to ...
0
votes
0answers
20 views

Nginx not loading css/js/images in https - Blocked loading mixed active content

I am running ubuntu 14.04 with Nginx 1.8.0. While opening the web pages in https the pages appear to be broken as the css/js/images don't load. I get this error "Blocked loading mixed active content" ...
0
votes
0answers
18 views

Slow server with normal resource usage

My server is almost dead. I have following configurations: nginx - updated settings to avoid slow-loris. limited requests per client, limit connections per ip UFW - closed all the ports except ssh ...
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
17 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
37 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
34 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
43 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
134 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
47 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
42 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
40 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
32 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 ...
2
votes
0answers
77 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
64 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
42 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
41 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
28 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
239 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
30 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
67 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
234 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
149 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
23 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
43 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
41 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
118 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
565 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
127 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
52 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
454 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
32 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
257 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
32 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
255 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
0answers
101 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
41 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
115 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
35 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
84 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
507 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
461 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
144 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
250 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
127 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
88 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 ...