0
votes
0answers
7 views

Fastcgi request record is too big

I am running an Nginx server, which requires me to accept URI String containing up to 4mb of data. I have configured nginx to accept the params by setting: /etc/nginx/nginx.conf ...
-2
votes
0answers
23 views

Shared hosting server setup [on hold]

Right now I'm creating shared hosting infrastructure (one server as host, multiple LXC guests with inbound traffic to them via nginx, NAT their outbound traffic back to the Internet). So, could ...
0
votes
1answer
30 views

Migrating a server from Apache to Nginx - how is my request handled?

I'm trying to migrate a service from a server to another. It's a simple php app. On the first server (Apache) I could request a JSON in the following way: ...
1
vote
1answer
45 views

Nginx unmet dependencies over Vagrant / Puppet

I have no such issue on 64bit Ubuntu Precise, but once I tried to start 32bit machine, it failed on this command: # /usr/bin/apt-get -q -y -o DPkg::Options::=--force-confold --force-yes install ...
-3
votes
0answers
21 views

route all server hit throught default gateway [closed]

i am preety new to managing my own dedicated server so please neglect my rookiness I am using nginx as my web server i have in total 5 usable ips say from X.X.X.1 - X.X.X.5 and this is my setting so ...
1
vote
1answer
36 views

File descriptor limit in nginx/Passenger app

We're running a Rails app in Passenger 4.0.45 and nginx 1.6.0 (installed by Passenger installer) running on Ubuntu 14.04. Under heavy load Passenger restarts all of the application processes. After ...
-1
votes
1answer
15 views

nginx rate limitinf unknown directive

I'm trying to set up a rate limit for bots using my website, but if i add limit_req_zone $binary_remote_addr zone=one:10m rate=1r/s; or anything of the sort to /etc/nginx/nginx.conf in the http ...
0
votes
0answers
35 views

Nginx error: “File not found”…coming from someone else's domain

I set up nginx to serve from an Ubuntu EC2 instance a few days ago, and today I checked the error logs when I encountered 504 after 504 in the browser. I found the following in my error.log: ... ...
1
vote
3answers
124 views

What is the Ideal value for Worker Processes in Nginx Config?

I have 31GB RAM 8 Core Web Server with current load of 3k per min. Currently worker_processes parameter in nginx config is 4 which as per my understanding means only 4 cores would be used. But when I ...
0
votes
1answer
40 views

Webmail is “Unable to make a secure connection to the server”

I am configuring a Ubuntu14/NGinX server and almost everything is up and running (phpmyadmin, ispconfig, etc). I installed Dovecot/Postfix/Squirelmail to establish a mailserver. I followed the ...
2
votes
2answers
267 views

Nginx 502 Bad Gateway - 111: Connection refused, port not being listened to

I'm aware there are many other similar questions but the solutions from those questions I feel I've already got in place. I've got 3 sites running locally on a VirtualBox Ubuntu 12.04.4 LTS Server, ...
1
vote
0answers
41 views

Nginx proxy pass not working sometimes

I have a proxy server (ubuntu) that can accessible via my global IP (not have domain). For Example 85.45.0.12:6021 and this reverse to local server. Local server (10.0.0.25) installed tomcat and ...
0
votes
0answers
58 views

How to figure out nginx 502 errors when logs are ok

I'm running a blog (on Wordpress) with nginx 1.6.0 + HHVM 3.1.0 + memcache on Ubuntu 14.04. Every few hours (~12-20h), nginx throws a 502 error and my blog gets down. I tried to figure it out, but I ...
0
votes
1answer
99 views

PHP-FPM with Nginx not Working on port 80

I am trying out nginx on my Ubuntu 14.04 desktop, I have referred to some basic setup articles and have installed the latest Nginx and PHP-FPM from the apt repository. I have nginx working and can get ...
1
vote
1answer
85 views

Adding PageSpeed Module to installed nginx

I like to add the Google PageSpeed Module to my nginx webserver on Ubuntu. This link gives a simple overview https://developers.google.com/speed/pagespeed/module/build_ngx_pagespeed_from_source?hl=de ...
0
votes
1answer
51 views

Configure both php and node app together using nginx

I have an Ubuntu VPC. I have a nodejs app running on it in some folder. I have a php app running on apache in var/www. What I want is to configure nginx so that when a user comes on mydomain.com , ...
0
votes
1answer
37 views

How do I change the root path in nginx

I have installed nginx on my Ubunut 12.04, I am not able to change the root directory for the nginx, This is the default nginx configuration file: server { listen 80 default_server; ...
0
votes
0answers
190 views

Server patched for CVE-2014-0224 but scanners still think it's vulnerable

We're running Ubuntu 12.04.2 LTS and nginx 1.4.0 and openssl 1.0.1. We just patched openssl to deal with CVE-2014-0224 vulnerabilities, and restarted nginx, but scanners still think we are vulnerable ...
1
vote
2answers
158 views

amazon ec2 ubuntu with gitlab and nginx - cant load?

Ok, so I've spooled up an Amazon EC2 server running Ubuntu, and then followed the instructions below to install GitLab; http://doc.gitlab.com/ce/install/installation.html The only step I've not been ...
1
vote
3answers
88 views

Cannot connect to HTTPS port on Ubuntu

I've installed a new SSL certificate and set up Nginx to use it. But requests time out when trying to hit HTTPS on the site. When I telnet to my domain on port 80 it connects, but times out on port ...
1
vote
1answer
275 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 ...
0
votes
0answers
33 views

nginx upstream host setting with memcache

I want to setup a nginx setup with memcache enabled for pages as pointed out in page https://www.igvita.com/2008/02/11/nginx-and-memcached-a-400-boost/. First I tried nginx web server (with php-fpm ...
0
votes
0answers
61 views

Compile nginx from source with PCRE-JIT support on Ubuntu 12.04

The latest version of PCRE library available to Ubuntu 12.04 does not support JIT features (support available in >= 8.20), so any self-compiled nginx on Ubuntu 12.04 will not have pcre-jit. So what ...
0
votes
1answer
497 views

“768 worker_connections are not enough” error after a fresh installation of nginx and ROR

I have a fresh installation of nginx and ruby on rails. But it gives me a '500 Internal Server Error' while testing. The error.log for my app has the following: 2014/05/01 17:27:15 [alert] 1423#0: ...
0
votes
1answer
139 views

nginx - CPU usage goes to 100% and php5-fpm stops when processing concurrent requests

I am processing php file with nohup command so that it should run in background. But when I process more than 20 nohup commands then cpu usage goes to 100% and php5-fpm crashes results in connect() ...
0
votes
1answer
27 views

How many connections are on my web server?

I have a Rackspace load balancer running a couple of servers. Before I update my site and restart the web server I drain the connections to one of the servers but I'm not sure when the server is ...
0
votes
1answer
59 views

Can't get SPDY working on nginx 1.5.9

I can't get spdy to work after reinstalling Ubuntu. I'm using nginx 1.5.9 from the nginx launchpad repository which has spdy support build in. Snippet: root@ssl:/etc/nginx/# nginx -V nginx version: ...
1
vote
1answer
121 views

unable to switch off expose_php in ubuntu 14.04 with nginx and php-fpm

According to phpinfo: Loaded Configuration File: /etc/php5/fpm/php.ini # grep expose_php /etc/php5/fpm -R /etc/php5/fpm/php.ini:expose_php = Off ...
0
votes
1answer
152 views

Sudden error with wordpress with nginx only (Uncaught SyntaxError: Unexpected end of input)

I've installed Wordpress on my VPS and is run smoothly with apache2. But recently , I recognized that it consume too much RAM (~600MB for 7-8 session) so I decided to change to Nginx. After changing ...
1
vote
1answer
311 views

“gitlab-shell self-check failed” after installing GitLab

So I installed GitLab and nginx and now i get a 502 Bad Gateway error when accessing it. I went through with the check sudo -u git -H bundle exec rake gitlab:check RAILS_ENV=production and found out I ...
25
votes
8answers
17k views

My server is still vulnerable to heartbleed even after I update OpenSSL

I have an Ubuntu 12.04 server. I have updated the OpenSSL package in order to fix the heartbleed vulnerability. But I am still vulnerable even, even though I have restarted the web server, and even ...
1
vote
0answers
250 views

nginx service won't start after reboot + won't give output for service nginx status or start

A few weeks ago I configured an ec2 ubuntu server for my rails app. everything worked great. the database is on RDS and I use nginx and passenger for the rails app. anyway everything worked great ...
0
votes
2answers
29 views

How to backup sql relations for server re-installation?

I am in need to re-install the nginx ubuntu 12.04 server I'm using in another machine. I've already got all the scripts (php,js,html, etc) so every data in the server is secured, but how can I do the ...
0
votes
2answers
72 views

nginx access.log only kept for a day

I'm using goaccess on Ubuntu Server 12.04 to view my analytics on my web server. I just run the following utility: goaccess -f /var/log/nginx/access.log However I'm only seeing one days worth of ...
2
votes
1answer
186 views

Manually rotate a log file

I have an Ubuntu web server running Nginx. I had never configured logfile rotation and have just discovered some multi-gigabyte monolithic log files. I have configured log rotation now per these ...
0
votes
0answers
67 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
52 views

install ganglia from sources: a) error /etc/ini.d/functions does not exist ; b) use Nginx instead of apache as web server for it

I'm trying to install ganglia (v.3.6.0) from sources on an Ubuntu 12.04 LTS server and I have 2 questions: A) The configure/make/make-install phase works. But when trying to launch gmond or gmetad ...
0
votes
2answers
124 views

How to install multiple versions of PHP on one server?

I want to have two versions of PHP on one server and switch between them using a symlink. I have PHP 5.3.2 installed. I want to install PHP 1.4.6 along side it and be able to switch back and forth ...
0
votes
1answer
48 views

Problems with nginx server load rediculous spikes

we are having a problem with the load of our server using nginx and not sure what to do about it. We are running ubuntu 12.04. Any ideas of what is going on and how to fix it? Below is a screenshot of ...
0
votes
0answers
39 views

Nginx downloading files instead of executing php

nginx server is downloading the php files instead of executing them I tried every solution that has been posted around web most of the people had problem with location but mine is uncommented ...
-1
votes
2answers
51 views

RAM increases when adding more sites to VPS

I have a vps running Ubuntu 12.04 with nginx,php,mysql & APC. I notice the ram increases each time I add a new site to the vps. Is this normal? cause I added 50 sites and it ended up using 1.5GB ...
0
votes
1answer
62 views

nginx and apache2 conflict - 403 Forbidden

I am running nginx on my server, and by mistake I stared apache2 on the server. After doing that I have a 403 Forbidden error on my home page. I killed apache2 process, but I still facing the same ...
-2
votes
1answer
59 views

Nginx not able to run css and js

My nginx server is not able to run js and css.When I try to navigate manually to css/js it gets downloaded.Here is my vhost.conf file server { listen 80; server_name sample.domain.tld; ...
0
votes
2answers
209 views

Enable nginx browser catching for specific url

How can I enable nginx catch for specific URL? I have a django web app and I put my static files such as CSS, JavaScript and ... in a folder called static and I can access them via ...
2
votes
0answers
265 views

Is there a way to log a per request unique id for nginx?

There appear to be a couple of third party modules for this https://github.com/newobj/nginx-x-rid-header https://github.com/hhru/nginx_requestid However if possible I don't want to rebuild nginx, ...
0
votes
2answers
129 views

How to make Nginx virtual host work? (page not found) [closed]

Running Ubuntu 13.10 in VirtualBox. I've put my website in this folder: http://i.stack.imgur.com/YYhcJ.jpg And created the log folder on /srv/www/streamsy.com/logs/. I've done these steps: sudo ...
0
votes
1answer
84 views

nginx php-fpm random/temperamental “No input file specified” error

I've got a page, I'm not using redirects, just going directly to /invite/index.php?code=f13dc6c9be in the browser and it serves up about 50% of the time. The rest of the time the browser displays "No ...
0
votes
1answer
147 views

update nginx 1.4.4 to 1.4.5 trying to overwrite X which is also in package Y

I get this error while trying to upgrade: Preparing to replace nginx 1.4.4-4~raring (using .../nginx_1.4.5-1~raring_amd64.deb) ... Unpacking replacement nginx ... dpkg: error processing ...
0
votes
0answers
44 views

Server intrusion - MySQL row altered

I have an AWS EC2 and an RDS instance running MySQL. The web app is Magento. We're facing an issue where the attacker has changed a row in the database - this is the PayPal seller's email address. ...
1
vote
0answers
97 views

nginx-extras ok for production server?

I need the upload progress extension on my production server running Nginx, the only problem is that to do that I must actually recompile the whole of Nginx. This means uninstalling the repo Nginx, ...