D
D
Dmitry Baskakov2021-10-21 11:40:51
Laravel
Dmitry Baskakov, 2021-10-21 11:40:51

Why does Laravel change domain in forms and links to ip with port?

There is a reverse proxy that accepts a site on port 82 and displays it on the Internet.
This site was created on Nuxt + Laravel. Nuxt works fine and all links point to the current domain, but Laravel refers to the IP with the port, not the domain. For example, instead of test.ru, 127.0.0.1:82 is substituted.

What is the problem and how to fix it? In the config, the host is registered on the domain

Answer the question

In order to leave comments, you need to log in

1 answer(s)
R
Romi, 2021-10-23
@romicohen

in .env exactly https://test.ru ??

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question