0
votes
1answer
45 views

Switched from Apache to Nginx - 503 errors

Switching from Apache to Nginx has caused us some errors.Our forum images do not load, and a directory with redirects and such don't actually redirect. The two problems is /forum/uploads/avatars, ...
0
votes
1answer
19 views

Which Nginx and which config file is used

I am trying to install Phusion Passenger module for Nginx. There was Nginx installed in /usr/sbin/nginx. The installer gem downloaded Nginx sources and compiled them with Passenger support into ...
0
votes
0answers
29 views

Strange Nginx Issue

We are facing a strange issue on our servers. We have servers with 1GB RAM and some drupal sites are running on it. Generally all sites are loading fine but sometimes we are unable to access any ...
1
vote
1answer
28 views

Server stopped working after update to php 5.5.0

I'm running nginx on ubuntu server 12.04 and I just updated to the most recent php package as follows http://phpave.com/upgrade-php-5-3-php-5-5-ubuntu-12-04-lts/#.Uzsho1RdURg. In the final part of ...
0
votes
0answers
8 views

wordpress- pages not showing [duplicate]

I am having some problem with my wordpress. When I create a new page in wordpress the page gets saved but when try to access that page it show "500 Internal Server Error" Can anyone please help me ...
0
votes
0answers
22 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
1answer
34 views

Rails 4 app + nginx1.4.4 + passenger4.0.37 on a headless Ubuntu12.x server running on a VM on my local machine

At the moment, it gives me a disapointing blank page. No 500, no 404, no errors on the nginx log file, just a snowstorm of interrogations. And its been hours of googling without success. So if anyone ...
0
votes
0answers
20 views

QUERY_STRING string not working nginx ubuntu 12.04 EC2 server

I have migrated from apache2 to nginx on my ubuntu 12.04 EC2 server, But its not working I never receive query_string. I'm running nginx with php5-fpm nginx version: nginx/1.4.5 server { listen ...
2
votes
1answer
60 views

NGINX 301 Redirect a URL with parameters to new URL

I've deployed a site live and trying to redirect some of the original URLs to the new URLs. I'm fairly new with NGINX configuration on redirects like this. This one works: location /contactus.aspx { ...
-1
votes
1answer
34 views

How to access domains via IP using nginx? [closed]

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
2answers
92 views

How do I set nginx's cache files to file permissions 777?

I'm trying to write a process that invalidates the cache on nginx (and doesn't re-warm the cache). By default, nginx has 700 on its cache files. The closest setting that I could find was: ...
1
vote
0answers
28 views

How do I get an Nginx non root ( “/” ) location to serve files?

I'm a Nginx beginner. I rented a little VPS with Ubuntu 12.04 to test. I rented no domain so I make requests directly using the ip. For this question let's assume the ip is 209.208.26.89. Installed ...
0
votes
1answer
118 views

How can i run nginx and node.js on one server?

What kind of setup can i use to host both wordpress/php and node.js on the same server? I have a VPS from Digitalocean, an Ubuntu 12.04 server. I have read that some use: Apache -> Nginx -> Varnish, ...
0
votes
0answers
40 views

Tweak Nginx and PHP-FPM for memroy usage

I switched to nginx to help me with less memory on VPS and High and speedy performance at the same time. But Now I have a problem of memory usage? Even If I add more memory to my VPS at the end of a ...
2
votes
1answer
47 views

My nginx redirect setting is not working

I am having a problem with my site. Whenever I try to access my website it is not redirecting. That means when I type the URL as financenectar.com it opens my site at financenectar.com but does not ...
2
votes
0answers
47 views

Sharing authentication data between servers in nginx

I got an http server that uses the ports 9200 and 9292 (for logstash). Since the server doesn't support authentication, I'd like to set an nginx reverse proxy to handle the authentication. This is ...
1
vote
0answers
2k views

NGINX connect() to unix:/var/run/php5-fpm/forums.socket failed

I recently set up my server again with nginx, PHP-FPM. i did what I always do but now the nginx or php-fpm doesn't process php files. ( I test with the simplest form of php phpinfo(); ). In the error ...
3
votes
1answer
85 views

nginx not responding on port 81

I just installed and configured nginx to listen on port 81. I didn't change the nginx.conf file, removed sites-available/default, added a dystroy.org file in sites-available : server { listen 81; ...
1
vote
1answer
64 views

Can't setup nginx + php5-fpm in a fresh installation getting 404

I just've downloaded nginx 1.4 and right away I see the "Welcome to nginx!" message, then I've installed php5-fpm from the repositories so I create a php file at /usr/share/nginx/html/demo.php just ...
0
votes
1answer
257 views

Mysterious error with php5-fpm

I'm having a very difficult case with latest php5-fpm (from debphp) and nginx 1.4.3 on Ubtuntu 12.04LTS. In short, I cannot start php5-fp at all, I keep getting this error in syslog: kernel: ...
0
votes
1answer
458 views

Diagnosing packet loss / high latency in Ubuntu

We have a Linux box (Ubuntu 12.04) running Nginx (1.5.2), which acts as a reverse proxy/load balancer to some Tornado and Apache hosts. The upstream servers are physically and logically close (same ...
0
votes
2answers
61 views

Safely run two versions of Nginx

I'm running a webserver and streaming video server on the same ubuntu box. I have the resources on the box to handle everything and in time will probably use two boxes but I don't want the overhead of ...
0
votes
1answer
72 views

Speed up Nginx displaying website - Time to First Byte

I have an Nginx server with a few sites on, and some sites on the server are taking quite a while longer to transfer the first byte then some others. As far as I am aware, Nginx looks through each ...
2
votes
1answer
419 views

How do I enable gzip Compression on NGINX PageSpeed Module resources?

I have been focusing heavily on optimizing a certain website so that it scores 100 on the Google PageSpeed Insights tool (for both mobile and desktop). Most of the items are working flawlessly, but I ...
-2
votes
0answers
17 views

nginx ubuntu server 12.04 doesnt start [duplicate]

imnew to ubuntu/linux and nginx. i setup an ubuntu server and nginx. i was able to access the default nginx site and verify that nginx was running after changing the html file I can no longer see ...
0
votes
2answers
311 views

nginx error 503 service unavailable

im trying to learn about ubuntu server and nginx, im still very new to ubuntu and nginx. I setup my site and I was able to access it and get the default nginx screen. I then went into the index.html ...
1
vote
1answer
154 views

Bad Gateway when seting up NGINX as a reverse proxy server for GAE

I want to use NGINx as a reverse proxy server so I can open my GAE (google app engine) web site from china mainland, because there most of google IP's are blocked by the GFW. DNS: I have those DNS ...
0
votes
0answers
56 views

Issue with Nginx and Gunicorn with POST requests over ~8kb

I have a very peculiar issue with Nginx, Gunicorn and Django. Here's a breakdown of what I'm experiencing: Post requests > ~8K that go through Nginx to Gunicorn to a valid Django URL/view fail. ...
0
votes
2answers
86 views

I am unable to execute a PHP file via NGiNX

Here is the config I am calling from the browser: location ~ ^/getfileinfo/(.*)$ { proxy_pass http://127.0.0.1/editionspanda_conn/$1; } Here is my config that calls the PHP file: ...
0
votes
1answer
163 views

Gunicorn error: “Error opening file for reading: Permission denied”

I'm getting an error when running my Django app with gunicorn: when I make a post request over 7800 bytes I see the following error from gunicorn: "Error opening file for reading: Permission denied". ...
0
votes
1answer
188 views

passenger apache and nginx module not compiling on ubuntu 12.04LTS

I am doing all this from the root account. I have followed this guide: https://www.digitalocean.com/community/articles/how-to-install-rails-apache-and-mysql-on-ubuntu-with-passenger I have tried ...
0
votes
0answers
13 views

Courier userdb command not running

I've got Courier and Postfix on Ubuntu 12. I'm running the command userdb and userdbpwd but they don't seem to do anything to the /etc/authlib/userdb file. Every time I check it again it is the same. ...
-1
votes
2answers
1k views

Recommendation for PHP-FPM pm.max_children, PHP-FPM pm.start_servers and others [closed]

I have the following server: Intel® Xeon® E3-1270 v2 Single Processor - Quad Core Dedicated Server CPU Speed: 4 x 3.5 Ghz w/ 8MB Smart Cache Motherboard: SuperMicro X9SCM-F Total Cores: 4 Cores + 8 ...
0
votes
0answers
192 views

ISPConfig 3 nginx php file not found

I faced the following error: File not found. What could be the problem? Nginx conf: server { listen 1.2.3.4:80; server_name blog.example.org ; root ...
5
votes
0answers
3k views

How to Build nginx 1.4.0 and ngx_pagespeed in Ubuntu/Debian? [closed]

How to Build nginx 1.4.0 and ngx_pagespeed in Ubuntu Create a directory to download necessary packages (optional) : mkdir pagespeed && cd pagespeed Make sure that you have latest version ...
0
votes
1answer
421 views

nginx not listening to port 80

I've just installed a Ubuntu 12.04 server and nginx 1.2.7, removed default from sites-enabled and added my own file into sites-available and symlink at sites-enabled. Then restarted nginx. Problem: ...
2
votes
1answer
625 views

SSL Termination with HAProxy and Nginx on Ubuntu

I've been following this tutorial: http://www.exratione.com/2012/12/websockets-over-ssl-haproxy-nodejs-nginx/ ...but I've been having problems connecting to Nginx through HAProxy via SSL. I'm ...
5
votes
2answers
493 views

Unxeplainably high disk IO caused by nginx worker processes

I have just setup a ubuntu 12.04.2 LTS server that serves a big number of quite large static files. The configuration is the same as on another machine which works great. The other machine uses Ubuntu ...
1
vote
1answer
228 views

nginx, gitlab, subdomain

I have installed gitlab on an ubuntu ( 12.04 ) virtual machine in virtual box, on my NAS (on Windows 7) The hostname of this machine is vubuntu. My router ( tomato v1.28 ) is configured to use the ...
2
votes
2answers
743 views

Linux Symbolic Linking not working as expected

I have achieved my "goal" several times before but am running into an issue I have not yet experienced before. I have a webserver setup with Nginx on Ubuntu 12.04 LTS. I have my system setup the way I ...
0
votes
2answers
994 views

How to make Zend 2 and Nginx work?

I'm trying to make my Zend2 Application to work with Nginx instead of Apache. I googled the WWW for a solution but haven't found a thing regarding Zend 2 and Nginx, all I found were some old old ...
5
votes
1answer
82 views

Storing secure keys on Ubuntu web server

I'm running Ubuntu 12.04 Precise with a DUNG (Django, Unix, Nginx & Gunicorn) environment and my app (as well as various config files) is stored in a python virtual environment inside /srv, which ...
1
vote
1answer
422 views

Nginx: Bad Gateway 502 error

I am running Nginx with PHP5-FPM on Amazon EC2 on Ubuntu 12.04 64-bit. I get a bad gateway error whenever I got to my site. I know that it is a configuration issue but I am not sure what is badly ...
0
votes
0answers
212 views

Rewrite error on nginx in ubuntu

I have used Linux first. When I used this rewrite code in nginx on windows there were no errors. But in linux(ubunt-12.04) there are errors. I don't know What is the matter. ...
1
vote
0answers
84 views

Domain root on nginx not working

mydomain.com is running with nginx1.2, php-fpm, apc on an ubuntu server (medium - amazon ec2). I have been tweaking my server for past 6 months, however a problem started occurring since day before ...
1
vote
4answers
658 views

nginx starts up before apache

I've been fumbling through setting up redmine on a unbuntu (12.04) box and somewhere along the line NginX got set up and now apache no longer loads because nginx has already grabbed the port. I tried ...
1
vote
1answer
183 views

EC2 Micro with NGINX

I have an EC2 Micro running Ubuntu 12.04. I have assigned it an EIP (23.21.213.236) and I am pointing my domain name A records to this IP. The domain I am trying to access with is ...
0
votes
1answer
1k views

Installing PHP-FPM (PHP 5.4) on Ubuntu with NGiNX

Here is the cmd: pecl install apc Result: downloading APC-3.1.9.tgz ... Starting to download APC-3.1.9.tgz (155,540 bytes) .................................done: 155,540 bytes 54 source files, ...
0
votes
1answer
3k views

nginx 403 Forbidden Error hosting in User Home Directory

I've installed nginx 1.1.19 on Ubuntu 12.04 on my local machine and kept the default /etc/nginx/nginx.conf except for changing the user directive. /etc/nginx/nginx.conf user nginx www-data; ...