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

learn more… | top users | synonyms

0
votes
2answers
76 views

Virtualbox nginx service won't start on startup, but can be activated through terminal

My normal OS is Windows 7 64-bit, but I'm running VirtualBox with the latests release of Ubuntu installed. I'm trying to use the VM as my web server as developing a Rails application on a Windows box ...
3
votes
1answer
47 views

basic security tools and packages that should be installed on a public facing web server

I'm a newbie in this world and I do not have a lot of knowledge about how security works on Linux systems. I recently created a droplet on DigitalOcean with Ubuntu 13 and I've been setting it up by ...
0
votes
1answer
115 views

error (13: Permission denied) in nginx 1.4.1

I am facing this issue on my nginx setup on ubuntu 13.10 I got these weird error on the log of my local domain 2014/04/06 21:29:37 [crit] 18065#0: *3 stat() "/media/user/Backup/Sites/sp/" failed ...
11
votes
3answers
1k views

How to enable TLS 1.2 in Nginx?

How do I enable TLS 1.1 and 1.2 for SSL connections in my Ubuntu 12.04 server? I am using the following version of nginx and openssl library. $ ./nginx -v nginx version: nginx/1.2.3 $ openssl ...
1
vote
1answer
127 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 ...
1
vote
0answers
24 views

Make a Ubuntu Server ready for takeoff as a webserver

What are the necessary steps to make an ubuntu server ready for productive operation as a webserver? I've assumed that the server distro of ubuntu doesn't have to be further tweaked to make it ready ...
0
votes
0answers
16 views

Shutdown services when terminal is closed

I want is to shutdown apache as soon as I leave the terminal, that's how django and rails web servers work. My terminal is Terminator. I want to do the same thing with apache and MySQL just to be ...
0
votes
0answers
14 views

Ubuntu EC2 memory usage issue-High disk usage by log files.

I am new to ubuntu and I had deployed my application code(Ruby on Rails) on Amazon Ec2 instance which is 32 bit medium instance a couple of months ago. Now I have installed Nginx and thin server on ...
1
vote
1answer
32 views

Nginx failing to reload - how to track down why?

Hi I've had my Nginx server running great on Ubuntu server 12.04 for a while. I've been gradually bolting on various bits, and got as far as optimising load times on my wordpress page. After making ...
0
votes
0answers
19 views

Nginx rewrite domain to CDN url

I want to redirect all my media files to maxcdn origin poll, this might be duplicate question but couldn't find the way i was looking for. server { listen 80; ## listen for ipv4; this line is ...
1
vote
2answers
81 views

Fixing nginx 1.4.6 dependency on old openssl version (libssl0.9.8)?

I'm trying to enable TLSv1.1 & TLSv1.2 on my Ubuntu 12.04 EC2 instance w/ nginx 1.4.6, but this version of nginx is dependent upon libssl0.9.8, even though the newest version of OpenSSL is ...
2
votes
1answer
140 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 ...
10
votes
2answers
12k views

Can't use PHP extension Mcrypt in Ubuntu 13.10 (Nginx, PHP-FPM) [duplicate]

I installed a fresh Ubuntu 13.10 on my laptop. Like I usually do, I install the packages I need for Web development, which are nginx, php5-fpm, mysql, php5-mysql, php5-mcrypt and a few others. After ...
1
vote
1answer
644 views

How can I upgrade nginx after adding ppa:nginx/development?

I've installed nginx via the ppa stable repository via  add-apt-repository ppa:nginx apt-get install nginx which adds the stable release. But now I'd like to switch to the development ...
0
votes
0answers
12 views

Nginx-to enable autostart

I installed the docker container in my ubuntu 13.10. Along with this nginx webserver also installed.But every time i want to type this command service nginx restart. so how can i autorun the ...
0
votes
0answers
58 views

Error writing /etc/nginx/nginx.conf: No such file or directory

I just installed Nginx in ubuntu 12.04 then I want to configure it but I'm having a problem saving it. When I hit save, it says: Error writing /etc/nginx/nginx.conf: No such file or directory . How ...
2
votes
2answers
2k views

Cannot access a directory on my webserver (nginx: 403 forbidden)

I installed nginx and all php extensions. My web directory is /usr/share/nginx/www/ Browsing to http://localhost shows "Welcome to nginx" Browsing to http://localhost/vnstat/ shows 403 forbidden ...
1
vote
1answer
95 views

Nginx and pagespeed installation issues in ubuntu

I have put my app (implemented a website with the help of angularjs) on amazon EC2 and have installed nginx and thin on it I am having issues with angularjs with respect to performance. So I decide ...
0
votes
0answers
57 views

NGINX on Ubuntu 12.04 LTS Server showing wrong 'REMOTE_ADDR'

I have an Ubuntu Production Server running on NGINX 1.1.19. I also have a PHP web application running on it which relies on the REMOTE_ADDR to select the Network Printer nearest to it. However, the ...
6
votes
3answers
3k views

Install uwsgi 1.2.5 via pip

Welcome, Currently I'm trying to install latest uwsgi on my VPS (Ubuntu 11.10) based on instruction from the site http://projects.unbit.it/uwsgi/wiki/Quickstart pip install uwsgi During ...
0
votes
0answers
160 views

Nginx: unknown directive “uwsgi_param” in /etc/nginx/uwsgi_params:1

Using this deployment tutorial, I'm trying to get an Ubuntu 12.04 server up and running with Flask, uWSGI and Nginx. I now have trouble getting Nginx to run. When I try to (re)start nginx it simply ...
0
votes
0answers
51 views

can't connect to BigBlueButton from external address

I installed a bigbluebutton server ver 0.81. When i set ip using sudo bbb-conf --setip 192.168.0.190 It's the local ip address and it work fine. but when i switch to my external static IP: sudo ...
3
votes
4answers
1k views

Which interprets PHP faster on Ubuntu Server 12.04 32-bit, Apache or Nginx?

I have currently installed Apache on my 12.04 32-bit Ubuntu server, but I'm interested into switching to Nginx. I have read a number of comparisons and reviews, where Nginx is faster than Apache ...
2
votes
1answer
248 views

Upstart unknown job problem

I set up nginx according to instructions here and it all went well but I am unable to start with $ start <my app name> I created /etc/init/nomilkfor.me.conf (this is the domain name) and this ...
1
vote
2answers
413 views

a catch-22 situation with apt-offline

I am installing ubuntu 12.04 onto a HP 1U rack server that is in a lab with no internet connection. I need to install PHP, Nginx and other packages so that I can run my web app on it that will serve ...
0
votes
2answers
19 views

Purging nginx didnt delete the configuration files

I just ran sudo apt-get purge nginx sudo apt-get autoremove but the folder /etc/nginx/still exists, with all its content intact. I guess I could rm the folder but that is not the point of my ...
0
votes
1answer
41 views

Catch output from “nginx -t” with php

I'm trying to make a simple control panel for my webserver running nginx with php-fpm. I've managed to catch result of service php5-fpm restart and service nginx reload, but the output from nginx -t ...
0
votes
0answers
14 views

Need help with Mail Server on Ubuntu

I am running Ubuntu 12.04 with nginx I do not have name servers like ns1.mydomain.com neither I have mx records I am using cloudflare for nameservers and then point it to my servers IP. I have ...
0
votes
1answer
134 views

Installing phpmyadmin in another port

I have a VPS where i host different websites, not only in apache but other platforms like Ruby on Rails. To set this up, I use nginx as front-end webserver, as proxy. I have apache running in port ...
0
votes
1answer
37 views

Mysql died and won't start

I am working on Ubuntu 12.10 server with nginx, mysql and unicorn installed. There is something wrong with Mysql and has stopped working. Log message from /var/log/mysql/error.log Attempting ...
0
votes
1answer
179 views

wordpress upload permission on nginx & ubuntu [closed]

I have a problem with permission on nginx/ubuntu VPS. keep getting the error: “asr.jpg” has failed to upload due to an error Unable to create directory uploads/2014/02. Is its parent directory ...
0
votes
0answers
21 views

Messed up the default nginx page, under sites-available, how to restore it ? Or does someone have the deault page?

I am using a Ubuntu 12.04 server and normally worked only with apache2 , now I see that the nginx configuration is pretty the same but a little different in details. For that I want to see the default ...
0
votes
2answers
220 views

How to setup SendMail with nginx

I have a Ubuntu server with nginx I have installed sendmail on it by running apt-get install sendmail I was also able to sendmail using sendmail <my_email_address> hello . the mail I ...
0
votes
0answers
36 views

Forbidden error 403 when accessing site using nginx

I am running a node web app which is accessed via a URL. When I go to the URL I get the following message: directory index of "/var/www/MYDOMAIN/public_html/app/views/" is forbidden, client: ...
-1
votes
1answer
92 views

Can't upgrade nginx on ubuntu 12.04

I'm stuck on nginx version 1.1.19! Following the instructions here http://www.jeffmould.com/2013/10/19/upgrading-nginx-ubuntu-12-04/ I did: service nginx stop add-apt-repository ppa:nginx/stable ...
0
votes
1answer
25 views

Does nginx require an Ubuntu user for each server block?

Does nginx require an Ubuntu user for each server block? Is it considered good practice to do so even if it's not a requirement? I plan on storing the files for each domain in ...
0
votes
0answers
35 views

How to access domains via IP using nginx?

I'm currently working on switching my webserver from Cent OS running Apache2 and Cpanel to Ubuntu 12.04 LTS running nginx without a GUI (unless I can find a good one). One thing I haven't been able ...
0
votes
0answers
34 views

Create new domain tools or script?

I'm new to *nix, Ubuntu, and nginx and so far it's a lot of fun playing around with new technology. However, after following tutorials on how to setup a new domain (server block) I can see how this ...
0
votes
1answer
831 views

How to use GeoIP With Nginx On Ubuntu 12.04? [closed]

I want a tutorial to help me in using GeoIP with Nginx on Ubuntu 12.04.
2
votes
1answer
71 views

Is there a way to increase the upload limit wtih the nginx charm?

Am using Wordpress in Juju Cloud.....When trying to upload a Theme of more than 500 kb...its showing "413 Request Entity Too Large" nginx/1.1.19 .. I just followed the following process to ...
30
votes
4answers
1k views

Does Ubuntu generally post timely security updates?

Concrete issue: The Oneiric nginx package is at version 1.0.5-1, released in July 2011 according to the changelog. The recent memory-disclosure vulnerability (advisory page, CVE-2012-1180, ...
0
votes
1answer
600 views

Unable to add subdomains with nginx server

I have nginx running on my server and I'm trying to set up a sub domain in the server. Once I tried and it worked without any problem. This is the tutorial I followed I have subdomains such as this ...
2
votes
2answers
68 views

hosts file and unclear behavior. How to make real alias?

I'm trying to create alias for my local website which is runned by vagrant(virtual box), hence I want redirect any requests from site.ru to 192.168.10.10/site.ru via /etc/hosts file. In the hosts file ...
0
votes
1answer
633 views

parse_rackup_file': rackup file (config.ru) not readable (ArgumentError) Unicorn Nginx

I used the one-click Rails, NGINX, Unicorn, MySQL droplet set up to create my server and I can't get Unicorn to start as a daemon. Here's the stack trace when I /etc/init.d/unicorn start: ...
0
votes
1answer
42 views

Is there a way to tell Upstart to log service?

In the logs directory I don't see a log file for my app (with a conf file nomilkforme.conf): z@ubuntu:/var/log/upstart$ ls console-setup.log.1.gz container-detect.log.1.gz module-init-tools.log.1.gz ...
0
votes
0answers
207 views

Apache / Nginx / Varnish - GZIP does not work on css, js

My current setup is as following: Apache -> Nginx -> Varnish running on Ubuntu apache2.conf: h**p://pastebin.com/A3wehAbe .htaccess: h**p://pastebin.com/Yre4hdSy (edited to allow deflate) ...
1
vote
0answers
83 views

Nginx processes have disappeared - why?

I've been following the arts technica web served series which has been great at teaching me how to get an Nginx server established on a fresh Ubuntu 12.04 server. I'm having a few problems however. ...
2
votes
1answer
56 views

sendmail & MySQL

I had MySQL and PHP working good in the nginx server. For mailing purpose I installed sendmail. Now all I get is Your PHP installation appears to be missing the MySQL extension which is required by ...
0
votes
1answer
123 views

nginx rendering PHP as plain text

server { listen 80; server_name test.local; access_log /var/log/nginx/access.log; error_log /var/log/nginx/error.log; root /var/www/testsite; location ~ \.php$ { ...
1
vote
0answers
342 views

nginx with hhvm - Not found

I'v set up nginx with hhvm but, any file .php returns me "Not found" except index.php that returns me Running on HHVM version 2.3.2. Some of my configurations /etc/nginx/sites-enable/default ...