1
vote
0answers
54 views

Weird Phusion+nginx spawning delay error

We are trying to migrate an application written on REE from cloud provider A to cloud provider B. The application code, VM specs and operating systems are the same. The basic difference is that cloud ...
1
vote
1answer
106 views
+100

nginx - Load Balancer - Considerable lag when upstream node is offline/down

Running nginx 1.0.15 on CentOS 6.5. I have three upstream servers and everything works fine, however when I simulate an outage, and take one of the upstream servers down, I notice considerable lag in ...
0
votes
0answers
20 views

Two identical VPS hosts with different ways of handling file names

I have CentOS 6.5 32 bit, 512 RAM, running Nginx, PHP-FPM, Mysql on two hosts. One for local dev, running inside a VirtualBox 4.3.12 and the other running online with digital ocean. Both of these ...
0
votes
0answers
23 views

Enable Soap for PHP 5.5.x on CentOS 6.5

Unfortunately I have to support soap on my server for the Fedex webservice. I recompiled PHP enabling support and it works via CLI but not PHP-fpm. They both point to the same ini file and both show ...
2
votes
3answers
130 views

Can't install nginx using epel repo on Centos 7 (64bit)

I've just built a 64 bit Centos server and I'm trying to install NGINX on it. Using the epel 7 (beta) repo I get the following error when trying to install: Loaded plugins: fastestmirror Loading ...
-1
votes
0answers
25 views

Nginx stopping and no logging about it

Nginx service suddenly stops and no there's no logging about it ... Even in /var/log/nginx/, ou /var/log/lastlog ou /var/log/messages ... If I run service nginx status it shows me: # service nginx ...
0
votes
1answer
18 views

Where cURL store files in web server? [closed]

I have a centOS machine using a nginx web server. In my application (php) I use cURL to get a remote file and then send it to the view: $cache_expire = 60*60*24*365; header("Pragma: ...
0
votes
0answers
47 views

Page requesting content from another IP

I was running a drupal website on Server 01 with IP1 on the domain name example.com with the configuration centos 6 and apache. As we were having a traffic spike, we wanted a more powerful machine. ...
4
votes
1answer
72 views

How to set systemd service dependencies?

During CentOS 7 system boot nginx start fails with the following error: 2014/08/04 17:27:34 [emerg] 790#0: bind() to a.b.c.d:443 failed (99: Cannot assign requested address) I suspect this is ...
2
votes
2answers
61 views

403 Forbidden when trying to access a folder in document root of nginx

When I access index.php, it works fine. But on localhost/pset7, it gives a 403. Here is the permission log, -rw-r--r--. 1 root root 51 Jul 31 14:21 index.html -rw-r--r--. 1 root ...
0
votes
1answer
31 views

Cannot change default root location

I have the following configuration file: # /etc/nginx/nginx.conif # vim: ts=4 user nginx; worker_processes 1; error_log /var/log/nginx/error.log; #error_log /var/log/nginx/error.log ...
0
votes
0answers
44 views

Nginx+Tornado performance tuning?

I have written a Tornado based Server that makes readouts from files on disk available via http. The size of the readouts I am serving is either about 10kb or about 1MB. I have a server machine with ...
-1
votes
1answer
59 views

Unable to connect to localhost or local ip but can connect to other servers or websites

I have a server with nginx|bind|mysql installed, everything is working fine but I am unable to connect to localhost or any websites hosted on server. I tried pinging and wget and none of them work ...
0
votes
0answers
21 views

PHP-FPM showing 34 worker process despite adjusting configuration

I recently asked this question and I got an answer about how I should limit php-fpm from running 34 worker process, considering that I get on average 20 visits for one light website. So, I ...
0
votes
1answer
382 views

502 Bad Gateway - Nginx, spawn-fcgi, WordPress

I host several sites on a CentOS VPS, and all was working fine until one of the WordPress sites on the server started returning a 502 Bad Gateway error. Other sites work fine. The WordPress site will ...
1
vote
0answers
209 views

Improving TCP performance over a gigabit network lots of connections and high traffic for storage and streaming services

I have two servers, Both servers hardware Specification are Processor : Dual Processor RAM : over 128 G.B Hard disk : SSD Hard disk Outging Traffic bandwidth : 3 Gbps network cards speed : 10 Gbps ...
0
votes
0answers
296 views

Reverse proxy 502 bad gateway

I have setup a subdomain to proxy my plesk panel, but when saving pages I am getting 502 Bad Gateway error instead of a completion message. I am running CentOS 6. Here is my vhost.conf configuration ...
0
votes
2answers
54 views

Setting location of site on nginx

I have a pretty simple problem that I can't solve. I've been searching the web for some time but no good results. I would like to change the default location of the site on my nginx server running on ...
0
votes
0answers
32 views

Getting 403 after moving VPS to different directory

After building my website, I realized that our RAID is setup so that all of the space is allocated in /home/admin/ folder. For that reason I copied all of my websites from /var/www/ to ...
2
votes
0answers
254 views

PHP Files being downloaded instead of displayed in browser

I created a VPS using Nginx and I tried to display the php info with: <?php phpinfo(); ?>. Instead, the browser asks me to download the php file, and it's not parsed either. This happens only ...
0
votes
0answers
78 views

NginX configuration to prevent “Slow HTTP Denial of Service”

I'm trying to configure NginX (in combination with Passenger and Rails) to prevent "Slow HTTP Denial of Service". What I'm trying to do to prevent it, is limiting the amount of requests per ...
0
votes
1answer
51 views

Connection timing out on webserver?

My server is currently timing out when I try to view the site. I tried restarting nginx. I tried restarting php-fpm. I tried restarting mysql. No dice. I tried rebooting the box. Still no dice. ...
0
votes
0answers
207 views

phpMyAdmin login only refreshes on nginx

I have phpMyAdmin running on Nginx. When I try to log in the only thing that happens is the url param "token" refreshes/updates. I'm not actually redirected to the main phpMyAdmin page and I don't ...
0
votes
1answer
121 views

Trouble setting up Ruby with Nginx on CentOS 6.5

Following the instructions here: https://www.digitalocean.com/community/articles/how-to-deploy-rails-apps-using-passenger-with-nginx-on-centos-6-5 I get to the point of "Use vim /etc/init.d/nginx to ...
2
votes
2answers
184 views

Forward all TLD requests to another server

So, an emergency has been landed in my lap, and unfortunately I'm ill-equipped to deal with it. An IT tech for a client's company changed the A record for a domain, then went on holiday. He is the ...
-1
votes
2answers
37 views

Handling emails in a separet email servers [closed]

This is a problem about maintaining an all-email VPS server. First, I have two VPS hosts right now, both running CentOS 6.5, 32bit system. one for web hosting and other for email only. The reason ...
0
votes
3answers
556 views

PHP exec “unable to fork” intermittent error on CentOS VPS

Using: PHP 5.5.10 nginx 1.5.10 Centos 6.5 a xen-based 4GB VPS My site uses encrypted paypal buttons. This encryption is done by the following code: $openssl_cmd = "($OPENSSL smime -sign -signer ...
0
votes
1answer
85 views

No server response over IPv6 with NGINX

I decided I would give IPv6 a go for my website, but I am having issues getting my server to respond to requests via IPv6. I have already set up an AAAA record and have had a good go at configuring ...
0
votes
1answer
357 views

From Apache to Nginx: complex rewrites with wildcard subdomains

I'm transitioning from Apache to Nginx and I'm trying to figure out how to get my subdomain rewrite rules to work. Apache The Apache configuration I have basically moves all traffic to HTTPS and ...
-2
votes
2answers
30 views

CentOS remount a used disk [closed]

I have a used disk full of video files which is 1TB in size and is mounted on /usr/local/nginx/html. I want to remount it on /disk1 for naming purposes. If I remount it would the files still be ...
0
votes
0answers
58 views

Nginx and Wordpress problems with rewrite

I'm having little problems with Nginx and Wordpress. We have not standard configuration where everything except defined folders and files will be sent to wordpress. And wordpress is in subdirectory ...
0
votes
1answer
195 views

fastcgi_pass directory not available on Apache + Nginx, how to find it?

I have a CentOS, Apache and Nginx installation. It uses php 5 handler as fcgi. This server uses WHM cpanel and easyapache. fcgi apply by using easyapache. These installation done by my hosting ...
1
vote
2answers
249 views

Another PHP NGINX error: “No input file specified”

I looked through about 5 questions and blog posts already and tried everything they told me without luck. I can browse to www.example.com/phpinfo.php, but not www.example.com/index.php. I even went so ...
1
vote
1answer
581 views

How to add module to nginx on CentOS 6

I have nginx 1.4.4 as reverse proxy and apache as backend. My question is - how to add modules to nginx? I need this module http://wiki.nginx.org/HttpUploadProgressModule checked nginx -V i don't ...
2
votes
1answer
988 views

Connection refused from outside Vagrant box with private network

I've set up CentOS 6 on a vagrant box with a private network IP. I can ssh into the box using the IP, so that is working. However, I get a Connection refused on port 80 when curl'ing it. There's a ...
1
vote
3answers
3k views

Nginx fails to stop and nginx.pid is missing

I want to stop Nginx but it fails like this. $ sudo service nginx stop Stopping nginx: [FAILED] And nginx.conf that defines place of nginx.pid have a ...
0
votes
0answers
139 views

PHP-FPM 404 and 502 errors

I am using nginx with php-fpm on CentOS 6 with cPanel. I have no installed modules like eAccelerator or APC. Server periodically returns 404 and 502 errors. 404 errors occur when the PHP cannot ...
2
votes
2answers
407 views

Nginx custom internal error page when upstream is down

I am new to Nginx and have a reverse proxy to an upstream glassfish server. I am trying to set up a custom 503 page for when the app is down for maintenance. I have been failing to do so for several ...
0
votes
3answers
188 views

Reduce system load when using image processing via php-fpm/nginx

We have a PHP image api written in Code Igniter that's based on imagemagic. We have the api behind nginx/php-fpm. We know the Imagemagic part is heavy, but we try to make the overal throughput higher ...
0
votes
1answer
99 views

Server with multiple ipv4 addresses adding ipv6

I've got a dedicated Centos 6.5 server with nginx and 2 ip-addresses (these are 2 ip(v4)-failover addresses from OVH) for hosting 2 different websites on the same server. I want to add ipv6 addresses ...
0
votes
1answer
935 views

nginx - 403 Forbidden

I've trouble to get aliases working correctly on nginx. When i try to access the aliases, /pma and /mba (see secure.example.com.conf), i get a 403 Forbidden but the base url works correctly. I read ...
0
votes
1answer
818 views

Magento Error 404 after moving from Apache to nginX

I moved my magento store from Server "A" which was on Apache to Server "B" running NginX. Copied all files and folders, Exported and Imported the SQL DB, Altered the local.xml file with the new DB ...
0
votes
1answer
462 views

NGINX not serving CSS & JS

NGINX will not serve CSS or JS files to the browser Link to page (magento) http://836237.vps-10.com/ Access log shows: [01/Dec/2013:16:55:17 +0000] "GET /js/varien/form.js HTTP/1.1" 304 0 ...
-1
votes
1answer
196 views

Recommended Nginx Configuration for High Traffic Website on Wordpress [duplicate]

We have a Wordpress based website that gets about 1.5 million pageviews per day. Maximum concurrent sessions reach up to 5000 users per minute at times. We have one web and one database server. Specs ...
0
votes
2answers
439 views

cannot connect to my nginx server from remote machine

I thought that it's iptables problem.. but it seems not. I really have no idea about this situation. I'm getting a server hosting(CentOS). I installed Nginx + Django and nginx uses 8080 port. A ...
-1
votes
2answers
124 views

How do I block visitors by varnish on centos, using nginx as backend?

I want to block visitors from some country, by country code, not by maintain a lot of ip ranges. I can do it using only nginx, but i've just configured varnish to frontend, and I have not found any ...
0
votes
1answer
91 views

How to install different extensions when using multiple PHP versions

I have the following setup : Centos 6.4, Apache set up to work with WHM/ cpanel with it's version of PHP (5.4) and nginx running a separate version of PHP to handle everything else. How can I do a ...
0
votes
2answers
319 views

Nginx 404's all static content in reverse proxy setup

Whats strange is that this exact configuration used to work fine, but now all static files will 404 on direct link i.e domain.com/test.html domain.com/test/test.html domain.com/ and ...
0
votes
1answer
32 views

Confusion in upgrading php in CentOS 5.5 / nginx

I was trying to upgrade from php 5.3 to php 5.5.x on my CentOS 5.5 vps running nginx. I ran yum upgrade php command. When I run php -V from command line, I get this output: [root@ns1 ~]# php -v ...
-1
votes
4answers
1k views

How To Reduce php-fpm RAM Usage in CentOS 6.4?

I've installed LEMP stack on my server. My server have 1GB of RAM with no load. I've installed php-fpm and it looks like it's using most of the RAM of my server. I've used the below command to get ...