> For the complete documentation index, see [llms.txt](https://docs.minersrefuge.com.br/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.minersrefuge.com.br/iniciando-um-servidor/escolhendo-uma-hospedagem/localizacao-da-hospedagem/deixe-tudo-no-mesmo-lugar.md).

# Deixe tudo no mesmo lugar

Muitas pessoas, quando estão fazendo uma network com vários modos de jogo, pensam em deixar os que precisam de uma baixa latência em uma localização, e os que não precisam em outra localização, entretanto, isso não funciona e não deve ser feito de nenhum modo.

Isso é pela maneira que o trafego do Minecraft funciona dentro de uma network:

**Cliente > Proxy > Backend**

Isso é, o tráfego do cliente passa pelo proxy e vai até o backend, para voltar ao cliente ele vem do backend, vai para o proxy e depois ao cliente.\
Ou seja, todo o trafego do seu servidor **sempre irá passar pelo proxy,** busque sempre ter a menor latência possível entre o proxy e o backend.

Também, a segurança poderá estar degradada, é muito mais seguro apenas o proxy estar disponível publicamente e os backend apenas poder ser acessado dentro da mesma rede, assim, impedindo que ataques externos sejam feitos, tendo menos pontos fracos em seu servidor.


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://docs.minersrefuge.com.br/iniciando-um-servidor/escolhendo-uma-hospedagem/localizacao-da-hospedagem/deixe-tudo-no-mesmo-lugar.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
