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
1
vote
1answer
2k views

Nginx not loading CSS and JS from Magento 2 site

Im creating a Magento 2 store based on Nginx web server, i have installed everything and i can see the site, but the JS and CSS are not loading, have done the content deploy and everything with ...
4
votes
1answer
3k views

Multiple Magento 2 Instances on Nginx Server Duplicate Listen

I have a dev environment where i want multiple instances of Magento 2 however when adding a second site my Nginx config throws the following error on restart: nginx[10338]: nginx: [emerg] duplicate ...
0
votes
0answers
26 views

Can't access Phpmyadmin page

I have installed Magento 2.4.1, Nginx, Mysql8, PHP 7.4 and PHPmyAdmin on Debian 10 on ec2. I have done all the steps from this guide: https://www.digitalocean.com/community/questions/how-to-install-...
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
1k views

Magento 2 installation says var directory is not writable

I have a strange problem with my Magento 2 installation. The readiness check says my var-directory is not writable although it clearly is. I even set it to 777. The other directories (app/etc, pub/...
4
votes
3answers
11k 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.0....
0
votes
0answers
15 views

why I got Unauthorized user error in magento 2 (Scandipwa)?

I am working on sacndipwa on magento 2 (using nginx server). I have changed the user login process from email and password to OTP (just send customer an otp on his/her number and login after otp ...
1
vote
2answers
3k views

Magento 2: Admin returns 404 using NGINX/PHP 7

I'm attempting to setup a local development version of Magento 2. I'm importing the database from a currently running Magento installation. The site works correctly, but I'm unable to access the admin ...
0
votes
4answers
1k views

Magento 2: Using nginx css js not loading

After installing Nginx server Magento2.3.1 not working CSS js file not loading. etc/ngnix/ngnix.conf user www-data; worker_processes auto; pid /run/nginx.pid; events { ...
2
votes
3answers
3k views

Upstream sent too big header while reading response header from upstream

We're running Magento 2.3.1 on AWS EC2(t2.medium) Instance with an ELB. Webserver is nginx. Sometimes, we receive the "Upstream sent too big header while reading response header from upstream."-Error ...
2
votes
1answer
3k views

Why Magento is using high CPU in AWS?

I'm having a problem that is occurring after the volume of concurrent users on my site has increased. I'm currently with almost 600 concurrent users and the server is using 100% CPU. To alleviate ...
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 ...
0
votes
0answers
31 views

Magento 2 and Nginx configuration

I have problem get right configuration for magento 2 and nginx. My website is error "403 Forbidden" for http and https urls. I try make changes but it is often error nginx: [emerg] "...
0
votes
1answer
37 views

Magento 2 + Nginx (connection refused)

I have issue with Magento 2 + Nginx server. My magento 2 all website page is error "ERR_CONNECTION_REFUSED". Something wrong with my server configuration? My server configuration Path: /etc/...
2
votes
2answers
672 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
1answer
853 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
1answer
17 views

Magento 2 rules for Nginx setup

Magento 2, what are the Magento 2 rules to be added & where to run Magento 2 in Nginx. My server guy asked me to add rule in mnt/data/home/xyz/redirector.conf file But I am unaware of the what ...
0
votes
0answers
7 views

Magento 2 Storefront and admin panel empty

On my Magento 2.2.6 with Nginx php-fpm centos 7 storefront & admin panel shows an empty page with a message "CMS homepage content goes here." Applied these commands also sudo find var ...
0
votes
0answers
32 views

Magento 2.2.6 CMS homepage content goes here

I am getting CMS homepage content goes here. content on the front page as well as on the admin panel with no images and any other content, how to resolve this issue. Run below commands also sudo find ...
1
vote
1answer
831 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 ...
2
votes
3answers
1k 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 ...
1
vote
3answers
3k views

Magento2 with nginix + ssl + varnish admin redirect loop issue

everything working fine, but when I enable secure admin (ssl) it gives redirect loop issue. I am not able to use admin pannel also cross origin issue for front ens static content. I am using ssl over ...
3
votes
1answer
546 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 ...
2
votes
1answer
1k views

What is the most battle tested official goto configuration for Magento1 using nginx?

By doing some googling I've found this as the only documentation that seemed "official" regarding nginx. Is it really that the official Magento1 nginx configuration only sits in this quite "obscure" ...
0
votes
1answer
804 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 ...
0
votes
1answer
5k views

My NGINX configuration is now throwing 404 Not Found nginx/1.10.0 (Ubuntu) EE. 1.14

I'm going to try and make this as detailed as possible because I feel like I've tried everything and at this point just need another set of eyes on everything. I'm running a cloud server and I've ...
0
votes
1answer
1k views

500 Internal Server Error nginx/1.12.0 on checkout page after Migration from Apache to Nginx

i'm facing a problem with nginx rewrites after i migrate my Magento website from Apache to Nginx! When i add a product to the cart and i press the button Place the order is giving me 500 internal ...
0
votes
0answers
11 views

magneot 2.4 nginx css js issue

i have installed magneto 2.4 using nginx site is working fine with HTTP but i have to run it with HTTPS and some how able to run with HTTPS but issue is that my CSS ana JS is called with HTTPS.... ...
3
votes
2answers
963 views

Remove default store code from URL, only?

mage 2.1.7 "use Store code in URL" set to YES. Have 3 stores, one for our default/original store at "/" with code "france" and one for our south korea and north korea stores. The default store is ...
0
votes
1answer
804 views

301 Redirection on nginx server (thousands of 404 errors)

we have an issue with the website (using Magento, on nginx) as it has ~5k URLs returning a 404 error. Most of these are product pages. We need to make a 301 redirects for all these URLs, e.g.: ...
0
votes
1answer
3k views

Magento 2 admin page not found using nginx

I had install magento 2 project in Ubuntu 14.04 using nginx. After run magento setup:static-content:deploy command I can access landing page but all url on page redirect to 404 eror page. Is there ...
0
votes
0answers
11 views

magento admin redirecting to http://default/search/admin%20adminhtml

i ran setup:upgrade; di:compile; cache:flush; in staging server. then suddenly i can no longer access the magento admin. evrytime i hit the admin url it redirects me to http://default/search/admin%...
1
vote
2answers
834 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 ...
0
votes
0answers
16 views

Magento 2 Admin Extension Button Not Showing Javascript

We have Latest Mirasvit Advance Feeds extension installed on our Magento 2.2.2. site PHP 7.1 - all the features of the extension are loading fine apart from the + button in the category mapping ...
14
votes
14answers
60k 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
1answer
95 views

Why do I get 404 on magmi/web/magmi.php for Magmi in Magento 2.3 - Lemp?

After download magmi from https://github.com/macopedia/magmi-m2 ( Branch: magento2) and paste into root folder, then run www.giri.local/magmi/web/magmi.php getting 404 error page not found. How to ...
0
votes
0answers
91 views

nginx config Magento 2.4 - css js not loaded

I am new to nginx, I have just installed it two days ago, was searching for the correct configuration but still having issue with css js not loaded, already checked permissions and deploy files ...
0
votes
2answers
2k 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
52 views

Sporadic, Frequent, Unreproducible 502 Errors during Admin Functions and Frontend Search and Checkout, M2.3.2 Commerce On-Prem w/ Nexcess Cloud Server

A recently launched a 2.3.2 Magento on-premise on Nexcess with Cloudflare over 2 months ago and have been experiencing sporadic, untraceable, non-reproducible 500 & 502 errors/timeouts that have ...
0
votes
1answer
18 views

Basic Auth / Restricting backend admin panel for M1

Good evening. Should it not be possible toeither restrict or use basic auth on the admin panel for login? Just as an extra security layer. Can there be any flaws/errors regadring 3rd party extentions ...
1
vote
1answer
57 views

Can't see Magento 2 front nor admin page on excluded IP when in maintenance mode. Using Varnish

So as I said, I am trying to see my website while others see it in maintenance. BTW I have Varnish configured. What I did: magento maintenance:enable --ip=<my-ip-address> What hapened: At ...
0
votes
0answers
20 views

Magento 2.3 - How to update Access-Control-Allow-Origin after move multi-site from localhost to live

Afte move multi-site localhost to live how to update Access-Control-Allow-Origin nginx.conf: ## Example configuration: # upstream fastcgi_backend2 { # # use tcp connection # # server 127.0.0.1:...
0
votes
0answers
85 views

Magento 2.4 PWA : How to setup with LEMP stack using Docker

If someone setup Magento 2.4 PWA using Docker with LEMP stack... Please give me supports.
1
vote
0answers
26 views

Add Basic HTTP Auth on the entire site hosted on Nginx

During development, I would like to block access to the entire site. I created a .htpasswd file and I can't work out where to add the following two lines: auth_basic "Restricted Content"; ...
1
vote
0answers
60 views

Magento 2 Nginx and ubuntu Post installation Permission and Ownership issue

I have installed Magento2 on AWS EC2 instance. I am using Nginx, Php-fpm and Ubuntu 18.04 for my magento2 installation. Magento 2 is installed successfully but whenever I run command php bin/magento ...
1
vote
3answers
87 views

Magento 2.3.x Admin Panel keeps loading

I have installed Magento 2.3.5-p1 and also tried 2.3.4-p2 on Centos 7, with Nginx & PHP-FPM, maria DB with following commands. 1. /var/www/magento < owner by MAGENTO:NGINX user (I have created ...
1
vote
3answers
93 views

Installation Problem Magento 2.3.5p1 on Centos 7

I have been trying to install Magento on Centos 7 with Nginx and Maria Db for the past 2-3 days now but each time I got errors. I have tried several ways and changed Nginx configuration file and tried ...
3
votes
0answers
19 views

Magento 2.3 - After setup Multi-website CSS unknown error - LEMP (Centos 7 - Nginx)

After configure multi website using https://magento.stackexchange.com/a/117930/57334 css not loading. Note: My main website working, multi Website only getting this error.
1
vote
0answers
19 views

Magento 2.3 - LEMP - Nginx hosts - Backend & frondend url 404 error

My LEMP localhost URL : 192.168.1.64:8087/giri I want to stup multiwebsite so that i have configured url like www.giri.local by using follow steps, Nginx : etc/hosts 192.168.1.64:8087 www.giri.local ...
2
votes
2answers
164 views

Magento 2.3 - LEMP Localhost - How to configure Nginx for Multi-Website store on Localhost (Centos 7)

Where is an error in my following steps for creating Multi Website Store :: Steps :- Main website Path : usr/share/nginx/html/giri Contains all magento files Configuration in nginx.conf.sample for ...

1
2 3 4 5
7