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

learn more… | top users | synonyms

0
votes
0answers
5 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
14 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
11 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" ...
22
votes
2answers
60k views

What file permissions should I set on web root?

I use Ubuntu Server 10.10 and have installed Nginx web server with apt-get install nginx. It creates a default web page at /var/www/nginx-default/ and that directory has the permissions drwxr-xr-x 2 ...
0
votes
1answer
181 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 ...
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 ...
2
votes
0answers
75 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 ...
6
votes
2answers
6k 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 ...
2
votes
2answers
5k 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 ...
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 ...
1
vote
1answer
78 views

Using repos vs compile: hot wo replace Nginx from repo with a compiled Nginx? [duplicate]

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 ...
2
votes
1answer
201 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, ...
3
votes
1answer
166 views

SSL on one domain and not the server ip or any virtual hosts (nginx)

I have a SSL setup on my nginx server and the SSL works perfectly, only problem is it is working on all other virtual hosts and also the server IP which I don't want it to. It should only work in the ...
0
votes
0answers
16 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
35 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; ...
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 ...
1
vote
0answers
32 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
38 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
121 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 ...
2
votes
1answer
411 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
37 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
39 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
39 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
29 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 ...
0
votes
0answers
63 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
38 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 ...
6
votes
1answer
941 views

deploy multiple wordpress sites with juju

This may seem like an obvious question, but can you deploy multiple (distinct) wordpress sites with their own databases etc? But using a single deployment? So not dedicated vm's for each sites ...
0
votes
1answer
27 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
190 views

What is the correct way to auto start mono fast cgi under nginx?

I am following the mono documentation for installing mono under nginx with fast cgi. This links to a script to auto start mono on the page (added below). Now people have mentioned this would cause a ...
0
votes
1answer
28 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
0answers
201 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
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
1answer
64 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, ...
0
votes
1answer
145 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
42 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
37 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
114 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 ...
6
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
504 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
120 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
243 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
5k 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
12k 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
245 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
51 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 ...
0
votes
1answer
30 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
281 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
21k 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
31 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 ...