G
G
Gleb_Shalygin2022-03-15 10:11:21
Nginx
Gleb_Shalygin, 2022-03-15 10:11:21

By setting the local environment to Docker, Nginx issues after the slash / "nginx/1.20.2" 404 not found?

I set up a local environment in Docker on Nginx with the following components:
- Mysql;
- Git;
- Composer;
- PHP;
- Nginx;
- PhpMyAdmin;
But when going to the link let's say " hello.loc/login ", nginx throws a 404 Not Found nginx/1.20.2 error. The main page( hello.loc ) works fine. Everything works on OpenServer, but I would like to use local environments with Docker. I collected everything according to the article, who will better understand me here is the link https://tretyakov.net/post/lokalnaya-sreda-dlya-ph...

Answer the question

In order to leave comments, you need to log in

1 answer(s)
S
SADFGHJAETJER, 2022-03-15
@Gleb_Shalygin

.htaccess rules most likely didn’t transfer from your open server to nginx configs (there, if you don’t just need to copy-paste), what kind of framework / router / CMS? I googled the config for it for nginx and plug it in for yourself.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question