跳至內容
選單
此問題已被標幟
1 回覆
3354 瀏覽次數

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

頭像
捨棄
最佳答案

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

Hope it helps

頭像
捨棄
相關帖文 回覆 瀏覽次數 活動
2
9月 24
2149
2
5月 24
14625
1
6月 20
6278
0
10月 17
3464
2
6月 16
13578