Stack Exchange Network

Stack Exchange network consists of 174 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
Make your voice heard. Take the 2019 Developer Survey now

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.

0
votes
0answers
25 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
29 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/...
0
votes
2answers
33 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
17 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
108 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
28 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
19 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
35 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
23 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 ...
0
votes
0answers
21 views

got 404 when reload page it work correctly and get 200 code

I've been using Magento 1.9.3.7 version. I exported a log yesterday and found some issues that cause visitors faced 404 error page, although the pages are working correctly and the code is 200. I ...
0
votes
1answer
137 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 ...
-1
votes
0answers
29 views

Magento 2 Cache Directories

I have a new configured server using both nginx and php-fpm. I currently have two sites installed one v2.1 the other v2.2 (both on php7.0) The v2.2 site works fine with no issues. The v2.1 site ...
-1
votes
0answers
34 views

Magento 2: index.php is not taking from the Magento root folder and it is taken from the pub folder

I have installed and configured Magento 2.2 with Nginx on Ubuntu 18.04 cloud server. I have followed the proper reference to install both Nginx and Magento 2. I am able to see the Magento website on ...
2
votes
1answer
74 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
27 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
32 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
67 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
47 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
544 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
49 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
28 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
15 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
268 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
21 views

Issue with base URL Magento 1

I have a Project with an issue and I still haven't found the solution, maybe someone can help me. The same issue happens in Linux and Mac, the layout is broken and inspecting the code is possible to ...
0
votes
0answers
54 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
53 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
28 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
74 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
66 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
27 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
33 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
110 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
344 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
189 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
229 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:...
1
vote
0answers
304 views

Magento 2 nginx 404 eror [duplicate]

I am attempting to open a php file by pointing the path in the url. First I add the testfile.php in the pub fodler since that is the root folder specified in nginx.conf.sample Second I edit nginx....
0
votes
0answers
36 views

Magento 2 multiple websites with Nginx

I have setup multiple website configuration from Magento backed. And i edited Nginx config file; location @php { try_files $uri =404; include /etc/nginx/fastcgi_params; ...
-1
votes
1answer
86 views

Magento 2 404 Not Found

Fron my test server I can access files from: http://127.0.0.1/magento222/testfile.php But my companies server has shows me this restricting message What could be the cause of this?
0
votes
1answer
560 views

Varnish - NGINX serving all resources HTTP instead of HTTPS (Magento 2) [duplicate]

I'm using an Ubuntu / NGINX server configuration. Followed the directions found here: https://www.rosehosting.com/blog/magento-2-with-redis-varnish-and-nginx-as-ssl-termination/ I installed the SSL ...
0
votes
1answer
172 views

Magento 2, 404 Not Found, nginx issue

I am trying to access files from the root folder by the url like: localhost/magento2.2.2/testfolder/test.php and I can do it fine on my test server but in my company nginx forbids me from accessing ...
0
votes
0answers
58 views

503 error when uploading images in Magento 1.7

We running a Magento 1.7 website on an nginx server. 4 CPU Cores, CentOS, 4GB RAM, and 40GB SSD. We also used memcached and we are behind a Sucuri firewall. Since a few days ago whenever we try to ...
0
votes
0answers
800 views

Magento 2 - Multi Website on same domain with subdirectory

We have an nginx, varnish setup of a Magento 2.2.2. installation in production. There are several websites which can be accessed via store view code. This looks like this: domain.com/us/ domain.com/...
0
votes
0answers
159 views

Magento Multistore in sub-directory Nginx Config

I'm having an issue setting up a Magento install in a sub-directory. I've tried numerous solutions I've found on here and via Google but not getting anywhere fast. With the code I provide below the /...
1
vote
2answers
394 views

Multiple stores with subfolders - nginx

I want to configure a multistore shop like this: domain1 http://www.domain1.com/nl/ -> website 1, store view 1 http://www.domain1.com/en/ -> website 1, store view 2 http://www.domain1.com/de/ -> ...
0
votes
1answer
475 views

503 Service Temporarily Unavailable Magento2 Error no flag

I was trying to print an order collection array (\Magento\Sales\Model\ResourceModel\Order\CollectionFactory), but it never gets printed, I know the reason. Now when I reload my browser, I get a 503 ...
0
votes
1answer
63 views

Magento 2: Not receiving all post params in ajax call

I have an issue with an ajax call in magento 2. I am unable to receive the whole data from this ajax call in my Post params. As you can see in the images below These are the params sent over in ajax ...
0
votes
1answer
200 views

Magento 2 : CMS Pages/Blocks and Products Not Loading in Backend

I'm using Magento 2.2.2 with PHP 7.1.1, CentOS 7 and Nginx. Currently in developer mode, I am working normally in Windows 10 and hosts file changed to the server IP, locally. After pointing the ...