1
vote
1answer
23 views

Nginx Map Directive for multiple variables

I currently use nginx with Magento and I use the map directive to supply the store code like this: map $http_host $magecode { www.store.com retail_store; wholesale.store.com ...
0
votes
1answer
117 views

Nginx URL virtual host rewrite issues with Magento e-commerce. Help please

I've been running into some serious problems with my URL rewrites and I can't seem to fix it on my own strength and knowledge and troubleshooting on the web! Basically what happens is that when I ...
0
votes
1answer
181 views

Redirecting Magento's admin to separate backend

I need the Magento admin to be sent to a separate backend from the store. I have 2 issues: Don't know how to properly match both index.php/admin and /admin with a regex (index.php/admin works, as it ...
0
votes
0answers
83 views

Mysql tmp file cause site exception error crash

Running Magento and every 3-15 days or so (fairly random) I get this error: exception 'Zend_Db_Statement_Exception' with message 'SQLSTATE[HY000]: General error: 1 Can't create/write to file ...
0
votes
1answer
521 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
318 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 ...
2
votes
2answers
1k views

Add trailing slash when it's missing in nginx

I'm running Magento on Nginx using this config: http://www.magentocommerce.com/wiki/1_-_installation_and_configuration/configuring_nginx_for_magento. Now I want to 301 all URLs without trailing slash ...
0
votes
1answer
182 views

Nginx Loads the same exact page for every url

Alrighty.. Im having a problem where every single page is loading the same exact page in this nginx config. The page that is loading seems to be index.php Not exactly sure what is up? It should be ...
0
votes
1answer
443 views

nginx URL rewrite for subfolders

I have 2 subfolders, they are opened on my_url/test1 and my_url/test2 location /test1 { index index.html index.php; ## Allow a static html file to be shown first try_files $uri $uri/ /test1 ...
0
votes
1answer
178 views

magento php-fpm too many process

in the last 2 days, suddenly the server is very slow. we are running magento, and we have seen 40-50 php-fpm process being run, each taking a few % of cpu, making performance very slow. we have 2 ...
0
votes
2answers
126 views

Accidently set chown “root” to all my server

I'm running 2 magento apps on my web server and I accidently set "chown -R www-data:www-data *" from the root of the server. Meaning, all the files were owned by the user root. This immediately ...
1
vote
3answers
3k views

Nginx unknown “https” variable

I've woken up this morning to find that a new Nginx server I've been teaching myself with is no longer serving websites. It looks like this is because Nginx is no longer running. When I try to start ...
-2
votes
1answer
177 views

Can I use Varnish to front 2 different services from different servers on 1 domain? [closed]

I've been futzing around with getting this set up however I don't know if Varnish supports what I am trying to do: I have a server (ec2) thats running Nginx/Magento for ecommerce (www.domain/) On ...
0
votes
1answer
883 views

php-fpm, nginx magento store. Coming to a halt

We just moved to a new server. 2 x Dedicated, 48 GB ram, php-fpm, nginx, memcached, APC. We have an issue where each php-fpm process that spawns keeps getting bigger. A fresh restart of php-fpm shows ...
3
votes
2answers
388 views

Loopback connection via PHP's getimage size crashes server (Magento's CMS)

We were able to trace down a problem that is crashing our NGINX server running Magento until the following point: Background info: Magento Backend has a CMS function with a WYSIWYG editor. This ...
0
votes
1answer
1k views

($_SERVER['REQUEST_METHOD'] == 'POST') not working in nginx

Hi we have recently switched our Magento application from Apache to nginx and PHP-FPM on CentOS 5.6. We have an external payment gateway that sends us back some transaction information. The PHP file ...
1
vote
0answers
464 views

magento with nginx frontend and REST API url

We have magento configured with nginx, we are trying to use http//magentohost/api/rest to manage customers, but when we try to access that url i get 404. Just wondering anybody proper configuration ...
-3
votes
1answer
188 views

Magento Using https:// for all links in source

So today I was trying to install a fresh instance of Magento v1.7.0 on my vps which is running nginx. Once I uploaded the clean install to public_html I unzipped it and entered my ip to run the ...
1
vote
3answers
4k views

Magento, NGINX, PHP-FPM, APC, MEMCACHED, 16gb Ram CentOS, Spiking PHP-FPM to 100% CPU

I have been trying to resolve my issue of spiking cpu caused by php-fpm processes. I've reduced the php-fpm config settings to: pm = ondemand pm.max_children = 12 pm.start_servers = 2 ...
0
votes
3answers
2k views

Good single server solution for Magento?

I am setting up a single Debian server serving Magento with Mysql. High load is expected (millions of hits per day). I've been reading various people's comments and found so many different setups but ...
0
votes
2answers
746 views

Nginx external POST returns 302

I have a server setup with Nginx 1.1.4 + PHP-FPM + APC. On this server a Magento 1.5.1.0 installation is running. What I'm having trouble with is that the callback from the payment provider is a POST ...
0
votes
1answer
1k views

Magento installation problem on Nginx in Windows

I am trying to install magento locally using nginx as the web server instead of Apache. I copied the magento folder to the html directory. When i try to call the magento folder, I get the 404 not ...
7
votes
6answers
2k views

How can I keep Apache from falling over?

I have a pair of servers hosting a single Magento ecommerce site with moderate traffic (60k page views per day reported from google analytics, I think about 80k reported on the server itself). The ...
0
votes
2answers
2k views

How to make nginx reverse proxy let 503 error pages pass through to client?

I am running Magento (ecommerce PHP app) behind nginx as a reverse proxy to Apache which is running the PHP app. Static content is served directly by nginx. Magento has a "maintenance mode" which uses ...
1
vote
1answer
339 views

Sessions different on FCGI or mod_php?

I have a cluster of webservers running on apache-php (with prefork). I'm planning to move from prefork to worker (fcgi). The problem is that I cannot move all servers at once so for a short period of ...