I now have it working with the following configuration:
server {
server_name pedrorito.av.it.pt;
location / {
rewrite ^/$ /PedroRito break;
proxy_pass https://uda-dev.outsystemsenterprise.com/;
proxy_set_header Host $host;
}
}
However, the URL in the browser is https://pedrorito.av.it.pt/PedroRito/ and I would like to have only https://pedrorito.av.it.pt/ . Is it possible?