Přejít na obsah
Menu
You need to be registered to interact with the community.
This question has been flagged
1 Odpovědět
3555 Zobrazení

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šit
Nejlepší odpověď

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

Hope it helps

Avatar
Zrušit
Related Posts Odpovědi Zobrazení Aktivita
2
zář 24
2372
2
kvě 24
14849
1
čvn 20
6455
0
říj 17
3586
2
čvn 16
13757