Pular para o conteúdo
Menu
Esta pergunta foi sinalizada
1 Responder
3526 Visualizações

I'm using nginx. I can correctly setup on a subdomain: "odoo.example.com".


But I want a path as well: "app.example.com/odoo".


So I did this:

server {

server_name app.example.com;
  ... other stuff

  location /odoo {
   proxy_redirect off;
   proxy_pass http://odoo:8069
 }

}



But that gives me a 500 error.


(When I use "location /" it works correctly, but without a path.)

Avatar
Cancelar
Melhor resposta

Hi, you can follow this: https://youtu.be/-3wV7A_4s-w

Hope it helps

Avatar
Cancelar
Publicações relacionadas Respostas Visualizações Atividade
2
set. 24
2342
2
mai. 24
14828
1
jun. 20
6432
0
out. 17
3568
2
jun. 16
13733