Skip to Content
Menu
This question has been flagged
1 Odpoveď
3459 Zobrazenia

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
Zrušiť
Best Answer

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

Hope it helps

Avatar
Zrušiť
Related Posts Replies Zobrazenia Aktivita
2
sep 24
2266
2
máj 24
14757
1
jún 20
6371
0
okt 17
3531
2
jún 16
13691