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

learn more… | top users | synonyms

0
votes
2answers
27 views

Nginx reverse proxy and subdomains

I have some problem with Nginx configuration. I've already searched for an issue but the proposed solutions I saw didn't work for me. I have some apps on a tomcat server and some apps on a jboss ...
1
vote
1answer
56 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 ...
1
vote
1answer
21 views

How do I make some TCP ports accessible internal only?

I am running four instances of Tornado app at ports 9000 - 9003. I use Nginx as load balancer at the front. However user can access these ports also, for example mysite:9000 is also accessible. so ...
0
votes
0answers
16 views

Can I share a host process with linux container?

On my Ubuntu 12.04 host, I have created a linux container p2. On the host I have nginx installed and running. My question - Can I share the running nginx on host with one or more linux container? By ...
0
votes
1answer
26 views

Packages are not installling on ubuntu 12.04

I tried to install imagemagick using following command sudo apt-get install imagemagick --fix-missing But while installing I get following error nginx-full : Depends: nginx-common (= ...
0
votes
1answer
68 views

Recent Ubuntu update has killed my rutorrent/rtorrent link

I just installed the latest updates to Ubuntu 14.04. Everything seems to be working properly. rtorrent is working. nginx is running php5-fpm is running and yet when I try to connect to rtorrent ...
0
votes
0answers
20 views

pure-ftpd set default uid and gid for nginx and fpm

I have web application on my Ubuntu 14.04, I installed pureftpd it runs fine. Normally I create ftpuser and ftpgroup, create a new user with pure-pw and it works fine. After ftp uploads are ...
1
vote
0answers
50 views

Can't configure NGINX to cache the images

I have been trying to cache images that are stored in nginx server, I am quite new here and to nginx I have installed it and configure it with php5-fpm, I have been reading many tutorial regarding ...
0
votes
1answer
32 views

Is the compiled version of a binary dynamically linked to the system SSL library?

In my case I build nginx from source and I want to confirm whether I need to rebuild it whenever a new OpenSSL update is released. From what I understand either of these two commands can be used to ...
3
votes
1answer
124 views

Existing laravel 4 project gives 404 in browser

I'm trying to set up a development environment on a virtual machine running Ubuntu 14.04 LTS using Nginx and HHVM. To do this, I followed the tutorial here. This goes well with a new installation of ...
3
votes
1answer
92 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 ...
0
votes
1answer
31 views

How To Restrict Multiple Directories With Nginx But Still Access Files?

I would like to know how to let people access files with a direct link on my server but restrict them from accessing all directories? Exemple: I want them to see www.site1.com/usa/newyork/1.html I ...
1
vote
2answers
144 views

How to solve 404 for static files with Django and Nginx?

I setup a Trusty VM with Django + Nginx (other stuffs too). The server is working, I get the "Welcome to Django" page. But when I enter to servername/admin it loads the HTML page but fails to load ...
-1
votes
1answer
53 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
30 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 ...
0
votes
2answers
61 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
34 views

Subdomain Configuration on Ubuntu nginx Server

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
1answer
113 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 ...
0
votes
0answers
17 views

Questions about setting up SSL

I have a subdomain on a server that is pointing to an IP hosting an application. I need to enable SSL on the application. The way I understand it is that because SSL is domain specific the ...
0
votes
0answers
132 views

Nginx Load-Balacing node.js, SSL Not Working

I'm running 12.04 and using Nginx to load-balance node.js and I'm having an issue getting SSL to work. The Problem Using the configuration below, when I send any requests via https I get no response ...
0
votes
0answers
73 views

Set nginx configuration file to different location

I'm trying to keep all my server code/configuration files in one place. I tried nginx -c /var/www/nginx.conf but received the following error: nginx: [emerg] open() "/var/www/mime.types" failed (2: ...
2
votes
0answers
35 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
1answer
155 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 ...
0
votes
0answers
17 views

Django chmod using wrong user:group

I have installed django and some other services to start up one front-end community forum. However i've managed to do it everythings run but i have problem with CHMOD permissions. My nginx server ...
0
votes
0answers
30 views

Transmission RPC slow down

I use transmission RPC to control transmission daemon on Ubuntu 12.4 with Nginx. When there are more than 25 active torrents, transmission RPC takes too long to respond, around 15 seconds to ...
0
votes
1answer
285 views

Cannot remove NGINX

I have been expirmenting 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
16 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 ...
3
votes
1answer
139 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
1answer
554 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
36 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
32 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
0answers
36 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 ...
0
votes
1answer
541 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 ...
2
votes
1answer
2k 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
83 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 ...
2
votes
1answer
2k 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
28 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 ...
1
vote
2answers
272 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 ...
0
votes
0answers
201 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 ...
1
vote
1answer
219 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
307 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
144 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
237 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
28 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
54 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
15 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
814 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
52 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
238 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
27 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 ...