Tagged Questions

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

learn more… | top users | synonyms

0
votes
0answers
14 views

Problem in running nginx in ubuntu 14.04

I installed nginx using sudo apt-get install nginx.After that I tried to run it on localhost:8080 by sudo service nginx start. It was giving nothing as "starting server" or things like that.It just ...
0
votes
2answers
31 views

Nginx over Apache with Laravel give rewrite_mod problems

Im running Nginx over Apache. I Nginx listens to port 80 and proxy it to port 8080, which Apache listens to. So far it works for direct url to files, like domain.com and domain.com/index.php. But ...
4
votes
2answers
430 views

Nginx Suddenly Appeared

I've never heard of this happening, so I'm baffled and not sure where to begin debugging. I'm on 14.04 and have had LAMP installed (as instructed here) for 3-6 months. Today, my laptop rebooted, and ...
0
votes
1answer
47 views

Not able to install nginx on ubuntu 14.04

I keep getting this error while installing nginx on 14.04 sudo apt-get install nginx [sudo] password for : Reading package lists... Done Building dependency tree Reading state information... ...
0
votes
1answer
77 views

How to upgrade nginx to mainline version from stable version? [duplicate]

I installed nginx 1.1.19 on my ubuntu 12.04 Server. Now I want to upgrade it to 1.7.6, I add nginx_signing.key and apt source for nginx, then run sudo apt-get install --only-upgrade nginx. But I got ...
0
votes
0answers
38 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
20 views

With the new security problem of nginx on 14.04, how do I tell what version I have?

I just saw a report on Facebook about 14.04 having a security issue related to nginx. I followed the link and update instructions, but how do I find out which version I have on my machine to see if it ...
0
votes
1answer
49 views

Cannot get nginx to render my WordPress site

I am new to nginx but I followed religiously all the tutorials and tried to setup my WordPress site but I have an issue at the moment I cannot resolve. Basically I have the following configuration in ...
0
votes
1answer
82 views

No network access until I ping the gateway

I have the weirdest of problems that I can't work out on ubuntu 14.04 LTS. When I start the machine I cannot access the internet and the machine's nginx server cannot be accessed. Running ifconfig ...
0
votes
0answers
92 views

ngnix will not restart

I had a 502 error when running laravel. So I changed my default.conf to this : server { listen 80; server_name localhost; access_log /var/log/nginx/project.access.log main; error_log ...
0
votes
0answers
77 views

14.04 update broke my ruttorent setup

I just updated my system and now my rutorrent isn't working. When I go to the web page, I get this error JS error: [http://192.168.0.36/rutorrent/js/jquery.js : 2] TypeError: a is null I googled it ...
0
votes
0answers
10 views

Can't put content in fastcgi_cache dir

I set up nginx to use the fastcgi_cache parameter. I also set fastcgi_cache_path. And everything works fine. What I tried to do is to manually add a CACHEDIR.TAG file in the fastcgi_cache_path dir in ...
0
votes
0answers
40 views

wait for job in bash script

find /var/www/ -ipath */logs/access.log.gz -execdir mv "{}" "old/`date +\%G-\%m-\%d`-access.log.gz" \; wait service nginx reload wait python /var/www/default/piwik/misc/log-analytics/import_logs.py ...
0
votes
0answers
53 views

setup default directory for ftp user and not to allow him to access the parent directories

I have setup an ubuntu instance on Amazon AWS with nginx webserver installed on it. I would like to create an ftp user and give default access to /usr/share/nginx/www. The user shouldn't be able to ...
0
votes
1answer
173 views

Installing mysql-server gives 504 Gateway Time-out

So I have this site im coding on that requires a database and is based on PHP. So for this site i installed phpmyadmin that also installed mysql-server. Before I installed phpmyadmin I didn't get a ...
0
votes
0answers
38 views

problem nginx on ubuntu with nodejs

I'm trying to make nginx upstream configuration working for ubuntu 14.04, and make my nodejs app visible from virtual host name. this is my conf file in available-sites under the /etc/nginx upstream ...
0
votes
0answers
48 views

Why doesn't lsof show localhost TCP connections in 14.04?

I have two servers running 12.04.4 and 14.04.1 respectively. Both have nginx (port 80) and a Java process (port 8080). As expected, the lsof output for the Java process (sudo lsof -nP -p $PID) on ...
0
votes
0answers
73 views

Nginx Configure: Error: no [MY ADD MODDS]/config was found

nweb here on ask-Ubuntu I have been trying to compile Nginx from source on Ubuntu 14.04 x64 and I get the following error: ./configure: error: no /src/mods/[MY ADD MODDS]/config was found If I ...
0
votes
1answer
137 views

Upgrading Ubuntu 12.04 LTS to 14.04 LTS: legacy PPA upgrade

I'd like to upgrade my server from Ubuntu 12.04 LTS to 14.04 LTS. However I have a small number of 3rd party applications, looking at their PPA list I foresee I could have trouble. So I am here to ...
0
votes
0answers
65 views

Nginx redirecting to https when it shouldn't

I have a new site set up, and I think I may have messed something up. If I go to mysite.com, it works, if I go to www.mysite.com, it redirects to https://www.mysite.com and says 'This webpage is not ...
0
votes
2answers
955 views

nginx and php5-fpm not working

before anything i searched everywhere and tested everything but still not working i install php5-fpm and nginx when i open localhost in browser i see this page : Welcome to nginx! so its working ...
0
votes
0answers
120 views

Application doesn't launch on startup (autostart) inside docker's container

the problem I faced with is none of applications doesn't launch on the system boot. I have image based on ubuntu:14.04 installed Nginx, Php5 and Mariadb. On every boot (!) I have to start services ...
0
votes
1answer
41 views

Enabling auth_basic in Nginx displays 500 Internel Error

When I have auth_basic enabled on my website, all pages displays 500 internal error. Here's what my error log says: [crit] 10250#0: *5 open() "/etc/nginx/passwd.d/dev.passwd" failed (13: Permission ...
0
votes
0answers
18 views

nginx on ubuntu 12.04 localhost does not render

I installed nginx software and http :// localhost does not render. What to do in default to make localhost show website?
0
votes
0answers
11 views

Ubuntu-Files become read only in production.App down

I am a newbie and I had posted a question on stackoverflow and I got a satisfactory answer.Now the site is back online. The issue was that the files such as thin.log and all the app files had become ...
1
vote
1answer
429 views

/dev/sda1 /boot is full [duplicate]

I know there are a lot of questions like this but I've tried pretty much to understand what to do and failed. By df -h I know that my /dev/sda1 /boot is with 100% use. I'm not understanding what I ...
1
vote
2answers
2k 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
598 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
38 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
28 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 ...
1
vote
1answer
53 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
460 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
65 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
333 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
49 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
457 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
2k 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
102 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
1k 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
83 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
49 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
144 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
333 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
1answer
3k 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
437 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
247 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: ...
3
votes
0answers
61 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 ...
2
votes
1answer
2k 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
39 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 ...