Skip ke Konten
Menu
Pertanyaan ini telah diberikan tanda
1 Balas
2803 Tampilan

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
Buang
Jawaban Terbai

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

Hope it helps

Avatar
Buang
Post Terkait Replies Tampilan Aktivitas
2
Sep 24
1532
2
Mei 24
13983
1
Jun 20
5873
0
Okt 17
3199
2
Jun 16
13100