Coder Social home page Coder Social logo

Comments (8)

magenx avatar magenx commented on July 16, 2024

if you run http it will work out of the box
if you need to run https, then you have to change nginx config, uncomment https variables

we run this script like every week, and it work without any issues

from magento-2-server-installation.

mucan54 avatar mucan54 commented on July 16, 2024

I tried both but couldn't get response, does it can be about my system
CPU 3
RAM 4 GB
SSD 80 GB

from magento-2-server-installation.

magenx avatar magenx commented on July 16, 2024

there is no error in your message,
what exactly not working or any error you have?

from magento-2-server-installation.

mucan54 avatar mucan54 commented on July 16, 2024

I added custom domain rather then server's ip address, and when I try to reach via domain I can not access, server doesnt respond, and in the logs of nginx access.log file I get this:

127.0.0.1 - - [15/Sep/2021:17:52:07 +0000] "GET http://localhost/health_check.php HTTP/1.1" 200 434 "-" "-" 0.017 - "18b43c5411b5c63b528e700104367c3d"
127.0.0.1 - - [15/Sep/2021:17:52:12 +0000] "GET http://localhost/health_check.php HTTP/1.1" 200 434 "-" "-" 0.017 - "45a123be32e42e190198a0297a9b566f"
127.0.0.1 - - [15/Sep/2021:17:52:17 +0000] "GET http://localhost/health_check.php HTTP/1.1" 200 434 "-" "-" 0.017 - "8b8e69110a367967460614db6edb7e42"

from magento-2-server-installation.

mucan54 avatar mucan54 commented on July 16, 2024

I installed again with server default ip address I could access the site, what configurations are required when new domain added.

from magento-2-server-installation.

magenx avatar magenx commented on July 16, 2024

you must have DNS configured, domain name in nginx confg, and store base url

from magento-2-server-installation.

mucan54 avatar mucan54 commented on July 16, 2024

I configured but now my assets doesn't loads from https, I can reach my website via https but in webpage all assests loads from http. As I understant magento can't detect https enabled.

from magento-2-server-installation.

magenx avatar magenx commented on July 16, 2024

you must have ssl certificate, base_url starts with https, for unsecure url too.

from magento-2-server-installation.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.