Address Bar changes under subfolder

I successfully set up my Discourse instance to run it under a subfolder:

https:://include.metaring.com/discourse

The problem is that it seems the client changes the address bar content every time some action is executed (a open admin panel, visit a topic ecc).

Let’s say for example that I am in the homepage, the address bar shows:
https://include.metaring.com/discourse

Now i want to click on a topic, the address bar updates to:
https://include.metaring.com/t/xxxxx

The /discourse path disappears, so when I try to click on the back button on the browser the site appears to be unreachable

Can someone tell me what i need to edit to let it work?

Thanks

Subfolder configurations are much more complex, we recommend you skip running in a subfolder and just have the Discourse site at

https://include.metaring.com/

not

https://include.metaring.com/discourse

If you really must have it in a subfolder be sure to check the relevant documentation topics here on meta closely.