Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Magmi on Nginx #23

Closed
studioworx-meniconi opened this issue Feb 21, 2018 · 3 comments
Closed

Magmi on Nginx #23

studioworx-meniconi opened this issue Feb 21, 2018 · 3 comments

Comments

@studioworx-meniconi
Copy link

Hello,

Ive used magmi in the past on magento 1 and apache server, but I'm fairly new to nginx and magento 2.
Im getting a 404 error when trying to access the /magmi/web/magmi.php I had a look here https://magento.stackexchange.com/questions/208225/how-do-i-install-the-magmi-for-magento-2-extension and follow the instructions there but still getting a 404, anybody have any idea?

Thanks in advance

@alex-79
Copy link

alex-79 commented Mar 21, 2018

    location /magmi {
        root $MAGE_ROOT;

	location ~ ^/magmi/.*\.php {
    	    fastcgi_split_path_info ^(.+?\.php)(/.*)$;
    	    fastcgi_pass   fastcgi_backend;
    	    fastcgi_index  index.php;
    	    fastcgi_param  SCRIPT_FILENAME  $document_root$fastcgi_script_name;
    	    include        fastcgi_params;
	}

    }

@tmotyl
Copy link
Member

tmotyl commented Oct 17, 2018

I assume the answer from @alex-79 solved the issue. Let me know if it doesn;t

@giri-gta-repo
Copy link

    location /magmi {
        root $MAGE_ROOT;

	location ~ ^/magmi/.*\.php {
    	    fastcgi_split_path_info ^(.+?\.php)(/.*)$;
    	    fastcgi_pass   fastcgi_backend;
    	    fastcgi_index  index.php;
    	    fastcgi_param  SCRIPT_FILENAME  $document_root$fastcgi_script_name;
    	    include        fastcgi_params;
	}

    }

Where i can paste this code?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants