Passa al contenuto
Menu
È necessario essere registrati per interagire con la community.
La domanda è stata contrassegnata
1 Rispondi
3280 Visualizzazioni

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
Abbandona
Risposta migliore

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

Hope it helps

Avatar
Abbandona
Post correlati Risposte Visualizzazioni Attività
2
set 24
2099
2
mag 24
14568
1
giu 20
6242
0
ott 17
3441
2
giu 16
13541