D
D
Denis Dormadekhin2018-03-18 09:47:43
proxy
Denis Dormadekhin, 2018-03-18 09:47:43

How to set up proxying in Laravel?

How can I set up proxying in laravel?
The essence of the problem is as follows, the service pulls a lot of data via the API, how to set up laravel so that all requests come not from one ip, but from different ones? I plan to buy a couple more ip-addresses from the hoster, but I don’t know how to configure laravel to work with them later

Answer the question

In order to leave comments, you need to log in

1 answer(s)
K
Konstantin B., 2018-03-18
@Kostik_1993

If you want to do horizontal scaling, then the framework just needs to know what IP you have, all this needs to be done in nginx configs, otherwise there is zero sense in this. You need to use nginx as a balancer. If, of course, this is not your question, then please specify what exactly you need, otherwise Wangs went to the polls today

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question