aliuosio/magento2docker

Virtual Machine docker

Closed this issue · 3 comments

Hello,
How can run on Virtual Machine docker install,
It's always redirecting to localhost in Nginx config. how can i use this on my server?
can you help with this I don't know much about Nginx

server {
server_name localhost;
rewrite ^(.*) https://localhost$1 permanent;
}
server {
listen 443 ssl;
listen [::]:443 ssl;
ssl_certificate /etc/nginx/ssl/cert.crt;
ssl_certificate_key /etc/nginx/ssl/cert_key.key;
ssl_ciphers HIGH:!aNULL:!MD5;
server_name localhost;

Have not tried it with a virtual machine.
But you have to run the
/usr/local/bin/start in the docker container and the IP will be set in the Magento 2 DB and displayed to you in the console.
This seems to be loaded after the Nginx config.
Tell me what happens?

bruh

bruh

What's that? A troll?