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
3answers
32 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
60 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
0answers
20 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
16 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
27 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
7 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
52 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 ...
0
votes
1answer
58 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
49 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
119 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
15 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
68 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
57 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
18 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
24 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
17 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
44 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
86 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
28 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
96 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
42 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
36 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
93 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
230 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
213 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
117 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
77 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 ...
0
votes
0answers
815 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
49 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
503 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
422 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
8 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....
0
votes
0answers
57 views

How to find out the reason Magento 2 Allowed memory size exhausted although memory_limit = -1?

Hope you are doing well! I have get issue when load product grid page with param is p=2. Fatal error: Allowed memory size of xxx bytes exhausted (tried to allocate xx bytes) in /xx/vendor/magento/...
1
vote
1answer
314 views

How to set page cache expires to 7 days?

I am using varnish with default magento 2.3.3 VCL and the default nginx configuration that comes with magento install. At present I see the expires is set to -1. How can I set expires to one week?
2
votes
1answer
33 views

Redirect subdomain with nginx

I have some subdomain from the old site like 123.abc.com and I want to redirect them to abc.com/123. I have installed magento 2.3.2 and nginx as webserver.
0
votes
0answers
17 views

Error After Installing Website in magento 2 js

I just installed magento 2 and I come across a bug that won't let me get lost on my admin page i use : Nginx Php7.2 Varnish 4 and Percona Server on Debian 9 I believe the problem is in the ...
0
votes
1answer
157 views

Magento 2.3.3 - Unable connect error - Nginx - Centos 7 - PHP 7.1

After successfully install magento 2.3.3 in centos 7 with nginx, url getting Unable connect error. Install nginx Configure nginx Install magento 2.3 using following commands, php bin/magento ...
1
vote
0answers
144 views

allow any php script instead of 404 page?

I am trying a new local development method on windows using magento 2 on vagrant on windows and it's up and running. Now I'm trying to add xdebug with PHPstorm but it's unable to "see" an uploaded ...
0
votes
1answer
36 views

Proper User for Ubuntu Nginx PHP-FPM when running php bin/magento and composer Command Line

So on the setup mentioned in the title, I want to confirm how the user should be for command line. Using the default setup there is a user "nginx" that is used for php-fpm and for nginx. Should that ...
0
votes
0answers
21 views

Magento site contents accessible via pub and without pub directory

I am using standard nginx configuration file that comes with Magento 2.3.3 installation. The document root is set correctly. But the content are accessible with and without pub directory. For example /...
0
votes
1answer
109 views

Checking Nginx log on Docker local environment on Cloud version?

I'm working on Magento Cloud version, but I'm having an error with 502 Bad Gateway on nginx. 502 Bad Gateway nginx/1.9.15 My question is that how to check the nginx log on Docker local environment?
5
votes
1answer
93 views

More than one redirect with trailing slash in secure non-www url

There is more than one redirect with trailing slash in secure non-www url. This doesn’t happen on homepage url like https://example.com. As you can see from below a secure non-www url is forwarded to ...
1
vote
1answer
106 views

“403 Forbidden” if I run Magento 2.2.x with FastCGI (Nginx + PHP-FPM)

Ubuntu 18.04, PHP 7.1, Nginx 1.16.1, Magento 2.2.6 I have some errors in log-file: 2019/12/05 16:58:45 [error] 865#865: *14 directory index of "/var/www/www-root/data/www/mysite.com/" is forbidden, ...

1
2 3 4 5
7