Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

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.

2
votes
0answers
25 views

NGINX 404 error despite Magento Installation complete on CentOS 7 terminal

I am trying to load the /admin part of my development build of the website. I am unsure what could be the cause of this. Using this command: (Some of these details are intentionally not in line with ...
2
votes
0answers
19 views

Permission issue when installing with nginx

I have installed different Magento sites using nginx. I have 5 sites, 4 of them use php7.1 and there's one that uses php7.0. I have created two different sites-availaible: And both of them have ...
0
votes
0answers
12 views

NGINX / Wordpress Site - Increasing php.ini max_execution_time = 600 doesn't work [migrated]

Need some assitance. I'm testing my PHP Limit on wordpress site and keep getting a 504 Gateway Time-out. I'm changing the max_execution_time in php.ini to reflect the value of 600. Followed by ...
2
votes
1answer
21 views

Magento 2 : Running multiple websites in nginx

I am trying to run magento with marketplace site it supports only one base currency. so we thought to create multiple websites inside magento admin . www.example.com/in/marketplace www.example....
2
votes
2answers
74 views

Magento 2 query url rewrite

If I have URL like this - mainpage.com/products?test_category=99 and want it to be rewritten to this mainpage.com/testproducts Since magento2 URL rewrite won't take query how can this be ...
0
votes
1answer
28 views

Rewrite rule for media images

we need to set rewrite rule for some images in Magento 2.2.5 using .htaccess rules or nginx conf Example 1 Request Path: https://www.example.com//media/catalog/product/cache/1/thumbnail/543x403/...
0
votes
1answer
27 views

Expose feed file in /pub

I dare say this is a newbie question but I've not found anyone else asking it. I am going through a steep learning curve having just taken over a site running magento 2.2.6 on magestack on nginx (...
2
votes
0answers
75 views

The store that was requested wasn't found

I just made new magento2 project. I got this: Magento\Framework\Exception\NoSuchEntityException: The store that was requested wasn't found. Verify the store and try again. I copied nginx config ...
1
vote
0answers
57 views

Elasticsearch 6.6 with Magento 2.3 and Nginx, need a proxy?

I am installing Elasticsearch 6.6 on my system (Ubuntu 18.04 with Nginx 1.14) and to configure Elasticsearch and Nginx, I find in the official documentation the following section: Configure nginx and ...
1
vote
0answers
61 views

Steps Install Elasticsearch 6.6 for Magento 2

I have many problems when installing Elasticsearch on my server. I'm going to put the steps that I followed in case someone can tell me if I'm missing something or not, please, or if I need to install ...
0
votes
2answers
43 views

How can I convert 302 to 301 redirect?

https://newsite.com to https://www.newsite.com results in a 302 redirect. Not sure from where this temporary redirect is coming. Site nginx configuration has only 301 redirects. Here is the ...
0
votes
1answer
57 views

Problems with Elasticsearch install Ubuntu

I have installed on my Magento 2.3 server and an annotation has arrived for me to install Elasticsearch. This is my system: Ubuntu 18.04 Nginx 1.14.0 MySQL 5.7.25 I have followed these instructions: ...
2
votes
1answer
67 views

how to add expires headers in magento cloud?

I have problem with expires headers. I am using magento cloud with nginx server.
2
votes
3answers
119 views

Adding a subdirectory path in url to website url

I am trying to set up magento 2 in a subdirectory via nginx ? i want my url to be http://mywebsite.com/shop/ If I run my website with base url : http://mywebsite.com/ .It works but when I add /shop/...
0
votes
1answer
23 views

Images not loading and size and color dropdown also not loading with Apache and NGINX

im struggling with Magento 2.2.4, its giving so many errors. Initially we had Apache web server with PHP 7.1 and NO nginx. In this scenario sometimes the color and size dropdown were not getting ...
0
votes
0answers
10 views

How to resolve 403 error after I turn on SEO on Magento on nginx

I am running Magento 1.9 on Nginx and I turned on SEO on admin. I am getting a 403 error after clicking on "Login" link, which now forwards me to https://sitename.com/vendor/dashboard instead of ...
0
votes
0answers
111 views

404 not found Nginx Magento 2

I faced an issue Nginx Configuration with Magento 2 Only home page working fine All other pages are display 404 not fount error OS Centos 6 /etc/nginx/conf.d.ssl.conf server { listen 443 ...
0
votes
0answers
48 views

How do I set up multiple server blocks in Nginx with mysql and php-fpm magento 2.2.3

I am trying to setup a development environment in Nginx. Here is the server configuration: Ubuntu 18.04 PHP7.1 MYSQL5.7 PHP-FPM The live environment is working fine. root for live is: /var/...
1
vote
2answers
104 views

(Pre-installation) ownership and permissions problems (CentOS / NGINX)

This is my first time installing Magento and I feel quite stupid getting stuck so early in the proces. I followed the official documentation to install Magento 2.3 by the book. Fresh CentOS 7 ...
0
votes
0answers
18 views

Custom Customer Attribute which is an image not displaying after upload on Nginx web server

I'm out of ideas so I'm needing a help from the experts here. This is the situation. I created a custom customer attribute which is an image. It enables the customer to upload image in the customer ...
0
votes
0answers
143 views

Magento 1.9 Storefront in subfolder not quite working

Really frustrating issue at the moment. We're moving from having languages on subdomains to subfolders instead. Nginx server. It's partly working, but not quite... https://www.example.com/ - works ...
0
votes
0answers
32 views

Magento 2.1.16 theme fallback not working on NGINX server

Thank you for the help. I already did it and it worked a bit. But there were other sections of the theme which were broken. Finally, after spending some more issue, I found that after upgrade to ...
0
votes
0answers
29 views

Access Magento Admin on Subdomain

I have a running store on Magento 2 which has multiple websites that I can access in the front end without any problems, for example: https://siteone.mymagestore.com https://sitetwo.mymagestore.com ...
0
votes
1answer
175 views

magento with nginx not found page show as defualt one with one magento html

when i type any invlaid url it shows like below instead i want to show my website page current setting of nginx.conf (in magento root folder) root $MAGE_ROOT/pub; index index.php; autoindex off; ...
0
votes
0answers
43 views

magento2: pagespeed broke js load

i'm running on magento2.2 under nginx with pagespeed mode enabled. i've found that some of scripts is not loading correctly because of pagespeed: pagespeed Disallow "*/filename.js"; not helped. will ...
1
vote
1answer
307 views

Static Content 404 with Magento 2 and Nginx

Preface: I have read through as many posts as I can find about this issue, but I have tried all solutions suggested already. The Issue Using a quick docker setup to get a local instance of Magento 2 ...
2
votes
1answer
165 views

Get Error SessionHandler::read() When installing Magento 2 with Nginx

I downloaded magento 2.2.5 and try installing with nginx server, but I got blank page in the installation and then I saw the this error in the report file : {"0":"Warning: SessionHandler::read(): ...
0
votes
1answer
28 views

Adding url rewrites directly into database

Ive just added around 100 url rewrites directly into the url_rewrites db table but Magento doesn't use them, Ive reindexed and cleared the cache but really don't know what to do next - what am i ...
1
vote
2answers
36 views

Still getting issue with right permission can't create directory “generation”*

I have already tried several solutions to solve my problem but it still does not work. The "var / generation" folder is already under "777". "chmod -R -v 777" I am under centOS7 and I use nginx and ...
2
votes
0answers
85 views

Magento 1.9: Maximum execution timeout after login

Description: After a customer logs into my shop, the script receives a stack overflow, execution timeout or exhausted memory size. But only at one store view (en_GB). I guess it's a loop. I have only ...
0
votes
0answers
71 views

Magento 2 install nginx php mysql dnsmasq xdebug php codesniffer on mac high sierra

Is there any complete guide where I can see how to install 1. nginx 2. php (multiple version) 3. mysql 4. dnsmasq 5. xdebug 6. php codesniffer on mac high sierra? Please don't suggest Valet+ ;). ...
1
vote
0answers
971 views

How to Solve 502 Bad Gateway error in Nginx Magento 2?

I am getting the error code 502 Bad Gateway in my Magento Installation with the following error in error log *1 upstream sent too big header while reading response header from upstream, client: 127....
1
vote
0answers
61 views

Question about Magento speed and adding Varnish cache

I got a task to speed up Magento 2 site. Now im facing with a huge problem. Site is hosted on shared hosting (quite good and reputable company). There is plenty of power but every shared hosting has ...
0
votes
0answers
37 views

Magento 2 : custom no-route url in nginx server

i am using magento 2 with nginx , when i enter wrong url i see below message 404 Not Found nginx/1.12.1 from where i can sent it to magento no-route page , i can not find any solution to this please ...
0
votes
0answers
16 views

Magento 2.1 Nginx Issue

I am having issues with my pub/static files not rendering for Magento 2.1 Using Nginx so not an .htaccess issue. I have also removed version signing off and that hasnt resolved the problem. My ...
0
votes
1answer
506 views

Nginx Magento 2 403

Going through the magento devdocs on setting up magento 2 enterprise. Ubuntu 16.04 PHP 7.1 https://devdocs.magento.com/guides/v2.2/install-gde/prereq/nginx.html This is my issue I have worked through ...
0
votes
0answers
69 views

Varnish Intermittent 503 on larger files

I have a standard Magento 2 / Varnish setup with Redis as a session backend and Nginx for SSL termination - most things are working as expected but sometimes I get the 503 backend fetch error from ...
0
votes
0answers
68 views

magento 1: admin ajax call shows nginx 404 page after some processing

I have button, when clicked makes an ajax call that adds products in magento. The problem is, the products are added but the ajax call return a 404 error like below (but in ajax response) - My nginx ...
0
votes
0answers
39 views

Allowing access to index.php/customer/account/login with nginx

I am new to Magento and have setup a new instance manually. I can see the home page successfully but am unable to access http://xyz/dev/index.php/customer/account/login/ and get a 404 error from nginx....
0
votes
0answers
100 views

Magento 2 deploy with redis cache

We have setup Magento 2.0 on Ubuntu 16.04, We are using nginx Web Server and php 7.0 installed on Machine. In this redis cache used when we flush redis cache its created again and taking more time. ...
2
votes
0answers
89 views

Magento 2 Install XHProf in nginx?

I am trying to setup XHProf in nginx server but some of reason I am unable to success. I follow and read XHProof magento 2 Any one try and success to configure it.
0
votes
0answers
28 views

Can't import CVS files from one installation to an other Magento 2

Every time I try to import an CVS file with products from one installation of Magento 2 to an other (installation are identical : virtual machine running on CentOS and Ngnix). I have this error: ...
0
votes
1answer
34 views

Serious perfomance problems after hosting company installed Nginx! Can I unistall it?

Magento 1.9.1 Porto theme We have had perfomance problems for the last few days. Today, when I tried to re-index - I got the following Error: 504 Gateway Time-out nginx I remember we had ...
0
votes
0answers
124 views

Form Key cookie is set twice - Magento 2.2.4

I am having two different form_key cookies being set on my browser for my Magento 2.2.4, one on domain 'www.example.com' and one on '.www.example.com'. My cookie path is set to / and my cookie domain ...
0
votes
0answers
15 views

Magento2 site wired on ngix server

I have moved my magento2 website from apache server to ngix server and cleared the cache and recompile but it's not loading files correctly. website is completely falling apart. Below is the ...
1
vote
0answers
393 views

SSL, Nginx, Varnish - Too many redirects

I know there are several questions on this issue, but no solutions seems to work for me. I have Magento 1.9 running on Nginx port 8080 and with Varnish in front running on port 80. Without SSL it's ...
0
votes
2answers
259 views

No varnish headers

I install varnish(5) just like here: https://devdocs.magento.com/guides/v2.2/config-guide/varnish/config-varnish.html I make test from varnish cli varnishd -d -f /etc/varnish/default.vcl start ...
-1
votes
1answer
270 views

Magento 2 redirect non-www to www nginx and varnish [duplicate]

what is the right way to redirect all http://domain traffic to https://www.domain for magento 2 on nginx and varnish server?
0
votes
1answer
30 views

error in console moved permanently

I have a Magento Installation version 1.9.3.1. Until yesterday It was working fine, but now the frontpage is not working with the error - Too many redirects. On further checking in the console(...
0
votes
0answers
40 views

How can i run Magento 2 under pub directory?

I want to run Magento 2 under pub directory as advised by Magento. I have edited nginx root directory to the pub; root $MAGE_ROOT/pub; Also, I have run following commands php bin/magento setup:...