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
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.... ...
0
votes
0answers
11 views

502 Bad GateWay Nginx Error

on certain links in my stores staging site I get this error. 502 Bad Gateway Nginx Error. Screenshot below. When I check my plesk error logs I see this error message. 2020-10-06 18:25:50 Error ...
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%...
0
votes
0answers
15 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 ...
0
votes
0answers
60 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
0answers
35 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
16 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 ...
0
votes
0answers
18 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
55 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
25 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
31 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
63 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
77 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 ...
1
vote
1answer
62 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 ...
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
18 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 ...
1
vote
0answers
21 views

Magento 2.3 - How to setup LEMP - Multi Website Localhost url setup on Nginx

For testing, we using Magento 2.3.4 in localhost [Centos 7 & Nginx] Main-store Path & URL: Path : usr/share/nginx/html/gomart - URL : http:// 192.168.1.64:8077/ Multi-Store URL : Path : usr/...
0
votes
1answer
17 views

Hide access to Magento

I have a Magento that I would only like to access from another web portal. If the user copies the Magento base url, I don't want the portal to appear. You should only be able to access Magento if the ...
1
vote
1answer
35 views

Magento 2.3 - LEMP Localhost - For Multi Website where should be create Symbolic links folder - Root folder or Pub folder?

I just want to create multi-website, i read some links to guide me to create a subfolder and create symbolic links of app,pub,lib,var and copy index.php & .htaccess from root folder to a subfolder....
0
votes
0answers
10 views

Nginx NoFollow for specific URL

I'm having difficulty with NGINX config file for magento. I want to add add_header X-Robots-Tag "noindex, nofollow, nosnippet, noarchive"; to URLS which contain the string "testing&...
0
votes
0answers
470 views

emerg duplicate upstream “fastcgi_backend”

I'm setting up a vhost for my magento site. So basically I have 2 store namely store1 and store2. Since this 2 store is using the same code and DB I setup the vhost in NGINX almost identical. The only ...
1
vote
1answer
501 views

Some pages on Magento 2 website displaying Error 502 when Varnish cache is enabled - website hosted on Ubuntu 18.04 Nginx VPS

I have installed a fresh copy of Magento 2 (2.3.5 with sample data) on a VPS which has the following stack: Ubuntu 18.04, Nginx, Mysql, and PHP 7.2 FPM. This vanilla installation worked. However, ...
1
vote
2answers
182 views

Nginx throwing 404 - Magento 2 Docker Environment for Windows 10

I've been struggling to find a good working Docker container to start working on Magento 2 under Windows 10. I created my own based on this tutorial:https://tech.osteel.me/posts/docker-for-local-web-...
2
votes
2answers
151 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 ...
0
votes
0answers
48 views

403 Forbidden on saving admin configuration in Magento 2.2.2

Getting 403 Forbidden error while saving the Admin Catalog -> Catalog configuration only. Remaining all configurations are saving without any error. And also, When Save/Update the products which are ...
0
votes
1answer
11 views

Can we block Search Engine crawlers from indexing system URLs

Can we block access for Search Engine Crawlers to all system URLs. I know we can do this by adding rules to robots.txt. But can we also achieve this on the server level (Nginx) Thnx, and Kind ...
0
votes
2answers
232 views

Varnish Cache not working Magento 2.3, iginx proxy and apache2 backend webservers

I have a site setup with nginx as proxy serving an apache2 server, I'm trying to implement varnish caching. nginx is listening on 443 and 80 varnish is configured to listen on 8080 apache2 is ...
0
votes
0answers
61 views

Magento 2: permissions keep resetting after running cli commands

I have Magento 2.3.4 installed on a test server with Ubuntu 18.04 + nginx + php7.2. The website displays fine, until I run cli commands (e.g. setup:upgrade, setup:di:compile) that result in newly ...
0
votes
0answers
23 views

Magento multi website not working

I am trying to configure multiwebsite setup using magento 2.3.5 on nginx webserver on my localsystem. The main website is http://www.myshop.com and other is supposed to be http://myshop1.myshop.com ...
0
votes
1answer
63 views

Image randomly missing with Varnish on Magento2

I'm currently struggling into getting the correct configuration for my M2 shop and i can't figure out on how to troubleshoot this. On some images, varnish backend is randomly returning 503 backend ...
0
votes
0answers
9 views

Forms are not working with domain name

ISSUE: All the forms aren't working at frontend. Whenever I use base urls as domainname.com the forms are not getting submitted. And I get the below error main.DEBUG: Request validation failed for ...
0
votes
1answer
15 views

Magento 1/theme or NGinx fault? 404 on some theme feature settings

We've got Magento 1.9.4.4 on nginx/1.14.2 and PHP v7.3.14 and we're using EM Titany (free) theme. I've just moved the shop from an old server to a new one (PHP5 to PHP7) and things have been working ...
0
votes
0answers
19 views

Magento 1.9 - Varnish, nginx and redirects (http -> https and non-www to www)

trying to redirect all non-www traffic to www and all http traffic to https. Environment is Magento 1.9 with Varnish and nginx. We also have Cloudflare (fully SSL enabled). Using the code below in ...
0
votes
1answer
105 views

Multistore magento error: Call to a member function getDefaultCurrencyCode()

I have a running version of magento 2.3, php 7.3 and nginx. The default store and another store work fine and are displayed correctly. Whenever i try to use a different store code other than the 2 ...
0
votes
1answer
201 views

Magento 2 on nginx with another nginx as a proxy

I have a VM running ngnix with magento 2 . internally , my vm is resolved by : marketplace.corp.mycloud.com From the internet, it is resolved with : marketplace.mycloud.com Http is working fine so ...
0
votes
0answers
29 views

nginx configuration for magento 2 on domain with sub directory

I got a scenario of install different magento code on same domain, but with different subdir. For Example: http://foo.bar/magento1 -> magento 2.2.x -> /var/www/html/magento1 http://foo.bar/magento2 ...
0
votes
1answer
409 views

Magento 2.3 - Unexpected error Exception: Warning: SessionHandler::read()

I am getting Unexpected error, Exception: Warning: SessionHandler::read(): open(/var/opt/remi/php72/lib/php/session/sess_5292j25aa4ugpdgrv9r6a3l3p8, O_RDWR) failed: Permission denied (13) in /usr/...
0
votes
0answers
51 views

docker Nginx :Magento 2.3.4 Web Setup Wizard 'page not found'

I built a Nginx dockerfile image with a seperate php image. I am now trying to use the wizard to load magento 2.3.4 but it return a page not found. I think it could be one of three issues: a- ...
0
votes
0answers
39 views

Magento 2 - opcache forbidden error

I'm using Magento 2. Suddenly appeared below error in the Nginx error log. Does anyone know how to fix that? 2020/02/25 12:51:24 [error] 10295#0: *183747840 directory index of "/var/www/html/...
0
votes
1answer
94 views

How can host magento at example.com/path/to/magento?

this kind is a simple question still I'm struggling to figure out how to achieve this. I have a landing page, and if the user clicks to enter a certain section I want him to see the store (located ...
0
votes
1answer
485 views

Purge specific Link from Magento 2 Varnish

I am trying from console to purge and refresh one specific link of my magento 2 store in Varnish. I don't want to clear the whole cache but just one link. I tried: curl -X PURGE http://www.example....
1
vote
1answer
344 views

Magento 2.3.3 on Centos 7 with Nginx using composer - Website not working?

Following tutorial : https://devdocs.magento.com/guides/v2.3/install-gde/composer.html After download magento by using, composer create-project --repository=https://repo.magento.com/ magento/project-...
0
votes
0answers
190 views

Magento2 on custom port with reverse proxy - redirection loop

When I try to install Magento on local configuration with Docker, I get into trouble when trying to use custom port for HTTP. Frontend part works with no problems, but trying to load admin page ends ...
0
votes
0answers
35 views

Run M2 from subdirectory

Magento 2.2.6 Have the main directory / and subdirectories like /germany, /france/, /poland etc. each subdirectory has index.php file like: <?php /** * Application entry point * * Example - ...
1
vote
0answers
122 views

Magento 2 Category page showing 504 Gateway Timeout Error

My store is working fine which is developed in Magento 2 but when I am trying to access any category pages then I am getting 504 GATEWAY TIMEOUT. I am using NGINX webserver. This issue is only for ...
1
vote
0answers
1k views

How to Debug {“identifier”:“LOCKED_RECORD_INFO_SYSTEM_CONFIG”}} []

My Centos - Nginx Configuration, etc/nginx/conf.d/magento.conf server { listen 8087; server_name abc; set $MAGE_ROOT /usr/share/nginx/html/abc; include /usr/share/nginx/html/abc/nginx.conf.sample; ...
0
votes
1answer
106 views

unable to access newly created domain in nginx on ubuntu

recently was setting up magento in my local system, i did installed mariaDB, nginx and php7.1. i did created new files in sites-available and did symlink as well. And i did run nginx -t there were no ...
0
votes
1answer
1k views

Magento 2.3.3 - 502 Bad Gateway - Centos - Nginx

After placed Magento 2.3.3 files to usr/share/nginx/html/magento & created database then run following, php bin/magento setup:install --base-url=http://192.168.1.64/magento --db-host=localhost --...
0
votes
0answers
811 views

Magento 2 .Woff blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource

Have a Magento 2.3 on Nginx. Trying to set up Cloudfront for /pub/static/ on subdomain like https://static.mydomain.com. Base URL for Static View Files is https://static.mydomain.com. Getting error ...
0
votes
0answers
14 views

Cpanel default_https.conf overwrite with Nginx SSL termination Varnish

I have had a developer implement varnish with SSL termination on our cpanel server. Everything works fine except every so often our default_https.conf file keeps getting overwritten in /etc/nginx/conf....

1
2 3 4 5
7