Skip to Content
Menu
This question has been flagged
1 Atsakyti
3463 Rodiniai

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.)

Portretas
Atmesti
Best Answer

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

Hope it helps

Portretas
Atmesti
Related Posts Replies Rodiniai Veikla
2
rugs. 24
2273
2
geg. 24
14764
1
birž. 20
6378
0
spal. 17
3533
2
birž. 16
13698