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

learn more… | top users | synonyms

0
votes
0answers
65 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: ...
0
votes
0answers
60 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
56 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
38 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
182 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
1k 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
96 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
104 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 ...
1
vote
1answer
1k 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
0answers
266 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
104 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
71 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
483 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 ...
2
votes
1answer
749 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
0answers
61 views

Nginx bad behavior while parsing Links

I use Nginx 1.1.9 and ubuntu 12.4 LTS and following config file for my VHOST config. server { server_name www.DOMAINNAME; rewrite ^(.*) http://DOMAINNAME$1 permanent; } server { ...
0
votes
1answer
48 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
293 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
416 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 ...
0
votes
0answers
67 views

Restarting Ubuntu Server 13.10 Breaks nginx & SSH

I am wondering what might be causing this. Any ideas would be super helpful. I have a little MicroPC in my room running Ubuntu Server 13.10. It's all setup, but here is what I have to do if I have ...
2
votes
2answers
158 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 ...
0
votes
1answer
176 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
300 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
1k 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
0answers
132 views

How to manage sqlite database with ubuntu server 12.04

I have installed php and sqlite in my Ubuntu server running nginx. I'm in doubt in how I should manage the SQL database. How should I install something like phpmyadmin that would work in these ...
0
votes
0answers
89 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
483 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
275 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
97 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
196 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?
0
votes
0answers
69 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 ...
0
votes
0answers
283 views

Trying to access my ubuntu server via a domain name registered via godaddy

I am trying to host my own web server. So I registered a domain name example.com via godaddy. I have an A record of example.com pointing to 12.34.56.78 (my wan IP address). I have nginx setup on ...
0
votes
0answers
289 views

I can't get Ubuntu Server 12.04/NginX to outperform Windows 2008 Server/IIS 7.5

I am determined to get NginX on Ubuntu Server 12.04 LTS to outperform IIS 7.5 on Windows 2008 Server. For comparison, I am using a Apache Bench and a simple (231 byte) html file. The Ubuntu server and ...
0
votes
0answers
58 views

LEMP Stack on Ubuntu Server 13.04 not parsing PHP Switch Statement Properly

On my Ubuntu 12.04 Server LTS on nginx 1.1.19, the following PHP code works properly: switch($_SESSION['user']['permissions']) { case 9: echo "Super Admin Privileges"; ...
2
votes
1answer
1k views

Nginx: Cant see index html

I use Ubuntu 13.10 + nginx (from repos), but I have one problem: I cant see in browser my local index.hmtl (with help nginx). Install: sudo apt-get install nginx Make dirs for my static files ...
2
votes
1answer
1k views

Nginx unable to connect

I am referring to this link to install Nginx on Ubuntu: Installing Nginx With PHP5 (And PHP-FPM) And MySQL Support (LEMP) On Ubuntu 13.04. sudo su — Runs OK. apt-get install mysql-server ...
0
votes
2answers
69 views

Ubuntu server and services

I've been using Linux+Plesk Virtual Server as a web server for a while, but I want to give a try on doing it manually, so my question is: I'll have a server which is: 80GB HDD, 4GB RAM, 1TB Bandwith, ...
1
vote
1answer
216 views

Is the rewrite module activated for nginx in the Wordpress juju

Is the rewrite module activated for nginx in the Wordpress juju? When I change the permalink to anything other than default I get bad gateway. rewrite is mandatory for buddypress to function ...
2
votes
1answer
3k views

how to install nginx after removed it manually

I have installed nginx using apt sudo apt-get install software-properties-common sudo add-apt-repository ppa:nginx/stable sudo apt-get install software-properties-common sudo apt-get update sudo ...
2
votes
2answers
3k 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 ...
12
votes
2answers
19k 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
1k views

php5-fpm : Depends: php5-common (= 5.3.10-1ubuntu3.8) but 5.4.6-1ubuntu1.4 is to be installed

I want to set up PHP behind Nginx with FastCGI but I stuck on the sudo apt-get -f install php5-fpm what i've tried: sudo apt-get -f install php5-fpm Reading package lists... Done Building ...
0
votes
0answers
148 views

how can i rewrite url to a specific ip or another domain in dnsmasq? [duplicate]

i added two lines: address=/dev/127.0.0.1 address=/g.cn/127.0.0.1 to /etc/dnsmasq.conf file, and i have nginx listened 80 port. open urls like http://xxx.dev/, i can see nginx's default site. ...
0
votes
1answer
846 views

nginx on Ubuntu Server in VirtualBox on Windows 7, how to access localhost:8080

I have nginx running on Ubuntu Server (guest) in VirtualBox on Windows 7 (host) I need to access the nginx webserver's localhost. I'm assuming there's no way to do this directly from Ubuntu Server's ...
0
votes
1answer
153 views

what is the nginx equivalent command apache has for a2enmod?

I'm following this guide: How to Setup OwnCloud Server 5 with SSL Connection Problem though is that the guide is for apache but I am using nginx for my server. As such I am trying to "reverse ...
1
vote
1answer
907 views

How do I install nginx modules

I just installed nginx through apt-get repository. But, unfortunately HttpAuthDigestModule is not included while installing. This is how to install from source - ./configure ...
0
votes
1answer
384 views

Run Sickbeard behind NGINX

I've been at this for so long now, trying to get my sickbeard to run behind nginx and having no luck at all, excuse my noobness. Here's what I've tried. I have sickbeard installed in[b] ...
0
votes
1answer
383 views

Can't install php5-fpm after upgrade to 12.10

I upgraded to 12.10 from 12.04 and began getting gateway errors when I accessed phppgadmin via nginx. After looking around I realised that the required program php5-fpm wasn't running and further what ...
1
vote
1answer
485 views

Why is my Nginx package not upgraded?

I'm trying to upgrade my nginx install to 1.3+. I already added the PPA for nginx/development and updated with apt-get update. I ran this command to install nginx: me@server:~$ sudo apt-get ...
0
votes
1answer
783 views

Setting up websites with Ubuntu 13.04 server and Nginx

I'm trying to setup 2 websites on my server ---> A_website and B_website I don't have a domain name registered and I just want to use the site privately so I'll be accessing it via the static IP ...
2
votes
2answers
304 views

Is the nginx charm stable for production?

I'll like to use the nginx charm in production and will like to know if it's stable and ready enough for production. Yes, I'm talking about specific juju charm for Nginx. I'm talking about this: ...