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

learn more… | top users | synonyms

-1
votes
1answer
134 views

Set up NGINX and bought a domain. How to connect the two? [closed]

I have set up nginx on my vserver and it seems to be working properly. I also purchased a domain at nic.md Now it's asking me for NS host names and addresses. Googling did not help much. Do I need to ...
1
vote
1answer
91 views

nginx.conf not properly restarting

We had altered our nginx.conf file to redirect all urls to their www alternatives. Later, we removed the lines responsible for this functionality. However, even after running sudo service nginx ...
-1
votes
2answers
449 views

my localhost default page welcome me on nginx

hi all wrt my last post, again i am getting frustrated by nginx server, i am trying to install laravel in my /var/www/project folder but when i delete my default HTML dir from my /var/www/html it ...
1
vote
1answer
507 views

Subdomain Configuration on Ubuntu nginx Server [closed]

First of all, I'm sorry for my bad English. I'll try to explain my aim as much as possible. I'm using a 2 Core and 2 GB memory VPS with 1 dedicated IP address from Digital Ocean for my project. I'm ...
1
vote
2answers
15k views

How to remove nginx and re activate apache?

I have installed Apache2, mysql, php5 and phpmyadmin on my Ubuntu 14.04 but later on mistakenly I install nginx. Now my localhost page show me Welcome to nginx server. And the localhost/phpmyadmin ...
3
votes
0answers
131 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 ...
4
votes
2answers
10k views

NGINX and PHP downloades index.php instead of processing it

I have been banging my head for 2 days now. The issue is that the index.php is downloaded instead of being processed. I'm using Ubuntu 14.04 , Nginx, php5. The nginx/site-available/default is as ...
3
votes
2answers
5k views

Cannot remove NGINX

I have been experimenting with nginx as a webserver for php files. I come from an Apache background but I wanted to try it. I recently had an issue with it and needed to switch back to Apache. I ...
0
votes
1answer
25 views

Setting up a debug/profiling environment for remote site

I'm having some issues with profiling a site that is loading slowly (close to 2 minutes). It is developed in PHP, Smarty and MySQL (using nginx as the web server), and I've been wanting to use Xdebug ...
4
votes
1answer
827 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 ...
1
vote
3answers
4k 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
52 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
67 views

ubuntu 12.10 install ispconfig

Hey guys I am currently working on this installation tutorial for Ubuntu 12.10 with ISPconfig/BIND/dovecot. I am currently stuck on page 4 the section where you you are attempting to start php-fpm. ...
0
votes
3answers
2k 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 ...
21
votes
4answers
30k 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 ...
5
votes
1answer
11k 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
162 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
2answers
1k 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 ...
1
vote
2answers
328 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
1answer
1k 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
1answer
560 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 ...
0
votes
2answers
1k 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 ...
0
votes
2answers
66 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 ...
1
vote
1answer
99 views

Catch output from “nginx -t” with php [closed]

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
1answer
4k 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
90 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
399 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
2answers
3k 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
1answer
53 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 ...
-1
votes
1answer
560 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
3k 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
218 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 ...
2
votes
1answer
268 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 ...
3
votes
1answer
4k 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: ...
1
vote
0answers
208 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
161 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 ...
1
vote
0answers
795 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 ...
3
votes
1answer
2k views

How many Nginx processes should there be?

Just installing Nginx on a fresh ubuntu server 12.04. ps -e | grep nginx at first returned nothing so i ran nginxwhich appeared to get things started. Running ps -e | grep nginx now returns a ...
0
votes
1answer
68 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
1answer
806 views

FATAL: Module rtc not found

Upstart gives "unknown job" error when I try to start the server with $ start <my-app-name>. I found this in the logs: z@ubuntu:/var/log/upstart$ sudo zcat module-init-tools.log.1.gz FATAL: ...
2
votes
1answer
2k 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 ...
2
votes
2answers
512 views

apt-get purge, install nginx; reports success but not installed (12.04)

after removing nginx, I re-installed it with sudo apt-get install nginx. Output indicated that the installation was successful. But there's no directory /etc/nginx and sudo service nginx start ...
1
vote
1answer
410 views

Why nginx -v not display version on ubuntu12.04?

Nginx was installed on our ubuntu 12.04 server and we want to find the version. Here is what we did: admin@ibm-testbox:/opt/nginx/sbin$ nginx -v The program 'nginx' can be found in the following ...
0
votes
1answer
600 views

Building nginx on Ubuntu with cache_purge module - help?

I have been trying to rebuild nginx with cache_purge module from http://labs.frickle.com/. I did the following and somehow the new build doesn't seem to include the module. Here is what I did: ...
3
votes
2answers
2k views

How to get nginx with spdy on Ubuntu without having to compile it?

I observed that none of the included nginx blends has the spdy module enabled and I don't want to manually compile it for that. I am looking for a apt repository solution but I wasn't able to find ...
0
votes
1answer
113 views

My server is making me download the code instead of running it

I am running an ubuntu server 12.04 but unfortunately I am not being able to make the interpreter run the code exactly. I am using nginx encrypted lvm and here is the conf.d (main part): server { ...
0
votes
1answer
1k views

Problem with uploading files with filezilla

I'm running a nginx server on ubuntu server 12.04.3 LTS but unfortunately I'm not being able to upload files with filezilla to it. I am able to open and browse the machine with filezilla but whenever ...
0
votes
1answer
984 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$ { ...
0
votes
1answer
142 views

How can I configure nginx?

After installing nginx I can see that the homepage of my web server is changed with the default nginx page. How can I configure nginx now?
3
votes
2answers
243 views

How to install Nginx in Ubuntu?

Recently I have installed a LAMP server in my Ubuntu Desktop 12.04 LTS. Now how can I install Nginx and implement with my present LAMP Server?