2
votes
2answers
136 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
19 views

Handling emails in a separet email servers [on hold]

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
0answers
5 views

set up (VirtualBox + CentOS) with (nginx + PHP + MySql) on MacOS [migrated]

I'm trying to set up (Virtual Box + CentOS) with (nginx + PHP + MySql) on MacOS, the future I can coding on MacOS then throw file to the share folder with (Virtual Box + CentOS) and execute on ...
0
votes
2answers
52 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
25 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
65 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
16 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
33 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
71 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
163 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 ...
0
votes
1answer
81 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 ...
0
votes
1answer
332 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 ...
0
votes
3answers
286 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
97 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
1answer
179 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
90 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
84 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
231 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
272 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
149 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
114 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
186 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 ...
0
votes
1answer
545 views

CentOS LEMP update - dependency error issue

I have setup a LEMP server following this guide:http://www.if-not-true-then-false.com/2011/install-nginx-php-fpm-on-fedora-centos-red-hat-rhel/ It's been a while since I did the setup, so I wanted to ...
-1
votes
2answers
76 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
77 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
209 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
30 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 ...
0
votes
3answers
707 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 ...
0
votes
1answer
95 views

How To Solve WP-DBManager Permission issue?

I've installed WordPress on a LEMP stack which is powered by CentOS 6.4. I installed WP-DBManager plugin today and it's showing an error which is mentioned below: Your backup folder MIGHT be visible ...
0
votes
2answers
240 views

How to prevent update from conflicting repo?

On EC2 / Amazon Linux AMI (Centos based), I created /etc/yum.repos.d/nginx.repo: [nginx] name=nginx repo baseurl=http://nginx.org/packages/centos/6/$basearch/ gpgcheck=0 enabled=1 Then I ...
0
votes
1answer
492 views

How to Install php ssh2 in CentOS 6 powered Nginx VPS

I'm trying to install php-ssh2 on my CentOS 6 powered VPS. I'm using Nginx as web server. I want to tell you guys that I've installed php-fpm using REMI's repo. I'm not a VPS expert. While setting up ...
0
votes
2answers
644 views

How To Install Xcache on CentOS 6 and Nginx?

I've bought a new VPS and I'm not a linux geek. I've already installed LEMP stack on CentOS 6. I just tried to install Xcache on my VPS. I've used the below command to install Xcache but it shows an ...
1
vote
1answer
82 views

Block bots/spiders from development server and static asset domain

We run apache (on windows) and NGINX (on CentOS) development servers. I have the problem that Google some how keeps managing to get hold of the development addresses and indexes them (could it be from ...
0
votes
1answer
130 views

Nginx can't handle multiple downloads

I am having a issue with NGINX. I will be serving files to multiple (~4000) people and they might be downloading multiple files at the same time. I have setup nignx and tryed to download a test file ...
1
vote
2answers
1k views

Centos / vsFTPD / Nginx / php-fpm - Permission denied (500 Internal Server Error)

I have a clean Centos 6.4 (x64) minimal edition installed (fully updated). Once the OS was setup, I followed this relatively simple guide to setup my FTP: ...
0
votes
1answer
202 views

How to increase nginx connections

I am facing the problem of nginx max connection issues. I am not able to increase max active connections(520) made by nginx. Some time it is using whole writing (516) operation connections. and due to ...
0
votes
1answer
46 views

Nginx Virtual Host alternative

Is it possible to setup virtual hosts without using the sites-enabled and sites-available directories? I am able to setup it up using those 2 directories but since the Centos install doesn't come ...
0
votes
1answer
62 views

Unable to get varnish to start

I cannot get nginx to start after changing my config file I'm very grateful for any assistance you can provide thank you :) #This is a basic VCL configuration file for varnish. See the vcl(7) # man ...
0
votes
1answer
60 views

ngninx Configuration for dynamic (sub)domains

I'm trying to configure nginx in a way that will mean less fiddling later down the road. I don't want to have to create a config file for each domain and sub domain, I want a single configuration ...
0
votes
3answers
660 views

Nginx yum update checksum error on CentOS5 for CentOS6 package

I'm getting checksum error when doing Yum update due to Yum looking for Nginx package from CentOS 6 repo (I'm using Centos 5.6). Below is the error: ...
0
votes
0answers
85 views

nginx hotlink protection on Centos 6

I want to configure my nginx to forbid images hotlinking to other websites. Or better said I want to link image from imgur with some message instead of someone using my badwidth. This is the code I've ...
0
votes
2answers
263 views

Can't get php-fpm with Nginx to work

Server: CentOs x86_64 /etc/php-fpm.d/webuser1.conf [webuser1] listen = 127.0.0.1:9001 listen.allowed_clients = 127.0.0.1 user = webuser1 group = webuser1 pm = dynamic pm.max_children = 15 ...
0
votes
1answer
221 views

Can't get PHP files to work “File not found”

I have nginx installed on my VPS which is running CentOS 6.3 and I can't seem to get any PHP files to work. Here is my nginx.conf file:- user nginx; worker_processes 2; error_log ...
0
votes
2answers
83 views

Apache being used by php-fpm while running Nginx?

I wonder if anyone could help me with why this RAM is being used. I run a low end box, 512mb RAM with Centos 6.3, Nginx, PHP and MySQL but Apache is showing up when I run a ps aux and it is using a ...
0
votes
2answers
56 views

How can I separate my custom config files from default config files provided?

In a server with several packages installed (nginx, php, etc) and configured with .conf files how can I avoid problems with updates that introduce new config parameters? Currently whenever I update, ...
0
votes
0answers
109 views

Access rights for Apache, Nginx and FTP user

I have a Linux web server based on CentOS 6, running Nginx and Apache2 which hosts several websites. Nginx serves static content, all other things will be served by Apache (and Php). Of course there ...
6
votes
4answers
1k views

Serving html from linux ramdisk

I have seen a somewhat dated tutorial that suggest serving html files with a ramdisk like this: mkfs -q /dev/ram1 102400 I also find another source that use something like this: mount -t tmpfs -o ...
0
votes
1answer
118 views

Nginx config for php-fpm in a dir /forum for a PHP forum

I have a working Nginx config for a static HTML site. I need to add a forum at http://blah.com/forum, php-fpm is installed and working as a unix socket (I have tested and got this working via a test ...
0
votes
1answer
150 views

Nginx as reverse proxy for Apache and subdomain setup

I have subdomain set up under Nginx and proxy passing to Apache to serve PHP files Below is my config: server { listen 80; server_name sub.domain.com.au; location ~* ...
0
votes
1answer
54 views

run nginx in port different than apache port

I want to know how to run nginx on different port than apache port For example when someone go to link http://site.com It will be served as apache If he go to the link http://site.com:81 ...