Questions tagged [nginx]

Nginx is an open source web server. The nginx project started with a strong focus on high concurrency, high performance and low memory usage. Nginx is often seen as an alternative for Apache when running Magento.

Filter by
Sorted by
Tagged with
0
votes
1answer
127 views

Category page manager stuck in reload (CentOS7 + ngingx 1.11.8)

I already checked out Category Manager Page in a Reload Loop Nginx and saw a similar problem that I am encountering. The solutions mentioned in the mentioned topic DO NOT solve my problem. The ...
0
votes
1answer
3k views

Nginx 502 Error only with full page cache enabled or trying to go to the admin

Even after disabling my custom module I'm getting this error. When I stopped working on it the day before this wasn't the case. It was working fine and I've been using this same server to develop ...
1
vote
1answer
818 views

Magento Nginx: cache first page request only (no session) for super speed

In an effort (and test) to make Magento fly I was playing with microcaching in Magento and came up with the following. The idea is to: detect a first visit and return visit. A return visit may ...
6
votes
0answers
4k views

Magento 2 with nginx throwing 404 error on setup

Can you please help me to solve the same problem.? I'm trying the magento 2 with nginx on my local environment. I'm getting a problem when trying to call my project for installation htttp://...
0
votes
0answers
689 views

Magento2 - Nginx : Not able to install getting 404 error

I'm running Apache and Nginx on Ubuntu 14.04 machine. Nginx + PHP7.0-FPM configured on 8080 port and apache is on 80 ( default port ). Stack : PHP Version : 7.0.14-1 Nginx : nginx/1.4.6 (Ubuntu) ...
1
vote
1answer
925 views

Method 'getExtensionAttributes' must be overridden Error in Magento 2.1.2 - NGINX Server

I have installed a fresh clean package of Magento 2.1.2 but i am getting the following error: Method 'getExtensionAttributes' must be overridden in the interfaces which extend 'Magento\Framework\...
1
vote
1answer
494 views

Restricting access to /rss not working NGINX

My Magento install keeps getting bombarded with traffic to /rss/catalog/notifystock which I read is a security issue in my current version of Magento. This is causing to many concurrent sessions and ...
0
votes
1answer
879 views

Magento 2 emails not being sent on VPS

I install Magento 2 on my server VPS: ubuntu 16.04, Nginx 1.10, MySQL 5.7, PHP 7. Site works, but can not sign on subscribe "Something went wrong with your subscription.". Transfer emails not works ...
1
vote
1answer
2k views

Create docker image for nginx, php 7, mysql and magento2

I want to create a docker image which has nginx, php7 (and required modules), mysql and magento2. Also, want to create docker-compose scripts. Any help will be appreciated.
0
votes
1answer
75 views

Concrete 5 CMS index of Magento 2.1

I would like to have the index page of concrete5 and magento 2 store. How do I configure nginx to use the index of concrete5 and not that of magento 2. This site is multilanguage, use map to redirect ...
0
votes
1answer
517 views

Force HTTP on all URLs except what required like checkout, admin

We are using Magento ver. 1.9.2.4 with Nginx, what we need is to always make sure and force that pages are served HTTP(non-ssl) and only checkout, admin, account and others which required HTTPS(ssl) ...
7
votes
6answers
8k views

How to run Magento 2 from a subdirectory

I'm trying to set up a Magento 2 site that will run with http://www.example.com/store/ as its home page, but Magento's router is treating that subdirectory path as a frontend module name, and trying ...
1
vote
0answers
322 views

How to correct create a multilingual store Magento 2 with nginx?

I have server: ubuntu 16.04, nginx 1.10, MySQL 5.7, one installation Magento 2. And 2 domains: primary domain.com and domain.in for "in Store View". My actions: Create Store View "in". Change my host ...
1
vote
0answers
273 views

Nginx Error Logs - 'No such file or directory' for an url that seems to load correctly?

In the course of trying to discover the cause of a sudden slow down on my Magento 1.9 hosted at Cloudways, I started examining the error logs and can't understand why there are so many 'No such file ...
0
votes
1answer
34 views

Nginx seg faults on request to index

I am running magento v2.X with Nginx and HHVM, making requests directly to HHVM works fine, and non-magento sites run fine too, but when I make a request to nginx for out of the box magento nginx seg ...
1
vote
0answers
1k views

Magento2 failed to open stream: Permission denied

I have an error in a Magento 2 store and I cannot fix it. On homepage appears this: Error filtering template: Warning: imagepng(/var/www/domain/pub/media/e**hemes/resized/frontend/e**hemes/slideshow/...
2
votes
0answers
448 views

Magento 2 nginx ssl problems

I have Magento 2 installed on ubuntu 16.04 with nginx webserver. The site is working pretty good, then i try to enable whole site SSL from letsencrypt and I run into problems. my root dir is /var/...
1
vote
1answer
107 views

install Magento 2 to sub-url nginx

Does anybody try to use built-in nginx.conf.sample file in case of installing magento to sub uri, like as: 'http://example.com/shop' What changes is needed for correctly using Magento2 code in ...
0
votes
1answer
1k views

Migrated from Apache to Nginx Except Homepage , Every Other Page shows 404?

I am not a Developer so Please No Hate for fellow Human for asking this , I Was asked to setup : An AWS-EC2 Instance of Ununtu 16.04 RDS With Default DB LEMP Stack (Linux , Nginx , Magento , Php 7.0)...
0
votes
1answer
1k views

Easy to Deploy 2 server setup on AWS

My client wishes to make a simple 2 server magento setup, one for the database and one for the webserver. Most AMI out there or AWS deployments are much much more complicated (and expensive!) and not ...
1
vote
2answers
2k views

Magento 2 + nginx clean install cannot access admin, always adding index.php to URLs

I have successfully installed Magento 2 locally. I'm using nginx and I can access the home page just fine. But, all links have "/index.php" added to them, and when I click them I get shown a 404. So ...
0
votes
1answer
187 views

Magento CE 1.9.0.1 double login and redirects back to login

When I go to the admin, Magento request the user and password as it normally should but after I enter my credentials and send I am seeing this: If I enter anything in there I go back to the normal ...
0
votes
0answers
443 views

Magento with Nginx - Ubuntu 16.04

I installed Magento2 trough Composer. I'm running a OS - Ubuntu16.04 with Nginx + MariaDb + php7. Database 'cb100' is already created in MariaDb; When I type the url cb100.com I dont have any error. ...
14
votes
14answers
58k views

404 not found error for admin page

I installed Magento successfully, but the Admin page gives error: 404 not found. Please suggest a solution for this. The following is the error: 404 Not Found nginx/1.10.0 (Ubuntu)
1
vote
2answers
4k views

Magento 2 and Ngix problem(HTTP ERROR 500 page)

I'm using Nginx and magento 2 on Ubuntu when i try to open localhost in order to run setup I m getting HTTP ERROR 500 in browser and my nginx log file says: [error] 6714#6714: *1 FastCGI sent in ...
2
votes
2answers
698 views

Sub-Folder Store View - Only homepage loads

I have a store set on a different domain to my main magento installation. I then have stores in sub-folders using the second domain e.g. maininstall.com aliasdomain.com aliasdomain.com/store1 ...
0
votes
1answer
263 views

PHP 7.0.9/NGINX 1.11.3/Magento 2.1.0 Admin 404

We have a Linux CentOS 7 server with PHP 7.0.9 and NGINX 1.11.3 installed. We have completed the command line installation of Magento 2.1.0. The front end loads up just fine in the browser but when I ...
2
votes
1answer
2k views

Blank page after installation and admin 404

I have installed Magento 2 on a CentOS 7 server with PHP 7.0.9 and NGINX 1.11.3 using the command line. After running the installation, when we try to load the home page we get nothing but a blank ...
6
votes
2answers
1k views

New website/store view, all pages 404 (including homepage)

As per the title, I've set up a new store on a different domain and all pages including the home page are returning 404. I've tried pretty much everything, and I'm wondering if any of you can think ...
0
votes
1answer
577 views

custom url rewrite

I'm using magento 1.9, nginx and want to customer url rewrite without 301 or 302. i.e /customer/account/login/ need to rewrite to /login/. Changes the default log-in address /customer/account/...
1
vote
0answers
178 views

How to return a Magento 404 page in nginx?

I have some URLs that I are coming up as "soft 404s" with Google. I want to make them genuine 404s, but would like them to use Magento's 404 pages. I am using NGINX with php-fpm and here is what I ...
0
votes
1answer
803 views

pound varnish nginx ssl redirect loop

i am trying to put nginx as a application server for magento with varnish being on top and pound as ssl termination , problem is the whole setup result to nasty redirect loop. using apache and adding ...
1
vote
0answers
268 views

Magento 1.9 set mode in nginx

How do I set modes to production or default or developer in my nginx conf file? I need to do this for Magento 1.9 version and not Magento 2
0
votes
1answer
406 views

Redirect all https requests to http except for checkout

I want to redirect all https requests to http on frontend except for checkout. I am using nginx as my web service. Please let me know how can I do this.
3
votes
0answers
159 views

Empty cart after login with Varnish enabled [duplicate]

My setup is: Magento 1.9.1 NGINX + PHP-FPM 7 Varnish 4.0 Turpentine FPC disabled I can put the products on the cart and proceed to checkout (using Firecheckout). The error occurs when I enter my ...
0
votes
1answer
1k views

ESI processing not enabled error only on Product detail page Varnish and Magento 1.9

I am trying to hole punch a Magento having two websites setup for retail and wholesale with Varnish 4. So far I have fixed the header section not appearing error by fixing the Main Navigation provided ...
1
vote
4answers
2k views

Nginx as reverse proxy server instead of varnish in Magento 2

I've setup a store on Magento 2 that is going to go live soon. I wanted to implement Varnish, but my hosting says that it is not compatible with cPanel. They did install it, but they're facing problem ...
1
vote
1answer
3k views

Magento2: Multistore / Multiwebsite setup on nginx

I am trying to setup a multistore or multiwebsite in magento 2. My server is using nginx. Can any one please tell me the steps to work on it. What i have tried so far. 1) By following magento2 doc i ...
2
votes
1answer
1k views

Admin forgot password does not work with X-Content-Type-Options nosniff header

When using nginx with X-Content-Type-Options nosniff, e.g: add_header X-Content-Type-Options nosniff; With location specific rewrite in server block: location = /js/index.php/x.js { rewrite ...
0
votes
2answers
2k views

Magento migration error - dbModel read resource does not implement Zend_Db_Adapter_Abstract

After migrated a Magento(CE 1.9.1) website from Apache server to Nginx server, i am getting error in frontend: dbModel read resource does not implement Zend_Db_Adapter_Abstract But admin panel is ...
2
votes
0answers
251 views

Multi-Store issues in Magento using Nginx

I have two stores within a single installation of Magento 1.9, both stores have their own domain name (domain1.com and domain2.com). The problem is that the second store isn't working when the user ...
9
votes
4answers
11k views

Magento -site not opening after CLI -installation

I am trying to get Magento 2 installed on my Centos7 LEMP-stack, but after a successful CLI-installation and setting the Magento on Developer-mode, I get the following message when trying to open the ...
1
vote
4answers
12k views

Magento 2: “There has been an error processing your request”

I installed Magento 2.1 on my Centos 7 server, running Nginx 1.10.1, MariaDB 10.1 and PHP7 with SSL. In theory, everything installed just fine and after the installation I got no errors what-so-ever, ...
7
votes
2answers
34k views

How to configure nginx for Magento 2?

My actions: I install only: nginx 1.10.1, php7 and mysql 5.6 on ubuntu 14.04. php install: sudo apt-get install -y php7.0-fpm php7.0-common php7.0-gd php7.0-mysql php7.0-mcrypt php7.0-curl php7.0-intl ...
0
votes
1answer
966 views

How to install php7 for Nginx, Magento 2?

I have a request for the installation php7 for Apache sudo apt-get install -y php7.0 libapache2-mod-php7.0 php7.0 php7.0-common php7.0-gd php7.0-mysql php7.0-mcrypt php7.0-curl php7.0-intl php7.0-...
0
votes
2answers
2k views

How to configure Magento 2 in subfolder using NGINX

I install Magento in my root folder and it's ok, but when I install in my subfolder don't work. How could I do it using a Magento 2 install?
1
vote
0answers
1k views

M2 Varnish + Nginx (SSL not caching)

After configuring Magento 2 under SSL on every page successfully (HTTPS everywhere - Magento 2) I have found a problem on SSL since why I open this question. If I enable SSL with NGINX as a Proxy I ...
0
votes
2answers
338 views

Magento 1.14.1.0 and recommended nginx version

Magento mentions here that the system requirements for nginx is version 1.7.x. But I'm wondering what is the recommended version? Is there a reason I should just update to 1.7 and not go to 1.8, 1.9, ...
2
votes
4answers
5k views

Magento2 with Varnish 4 and Nginx as SSL termination ends in mixed content

I have the following configuration on Debian based on 2 servers: On main server there are Apache2 and Magento 2 with Redis and Memcached. On 2nd server there is Varnish which listens on http://...
3
votes
1answer
2k views

Magento NGINX allow IP/deny all for downloader folder

I'm having a problem allowing my IP address access to the downloader folder when using nginx to deny all other IP's. Any ideas where I'm going wrong with the below? I've tried with my IPv4 and IPv6 ...

1
3 4
5
6 7