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

I reroute to port 80 with iptables in /etc/rc.local

iptables -t nat -A PREROUTING -p tcp --dport 80 -j REDIRECT --to-port 8069

it works great, BUT then wkhtmltopdf or my PDF printing is not working.

Any suggestions?


頭像
捨棄
最佳答案

wkhtml pdf running internally so it should be enough to add report.url 127.0.0.1:PORT in system parameters.

頭像
捨棄
作者 最佳答案

please be more specific as where to add this setting and should it be  report.url 127.0.0.1:80
I run Odoo on a Ubuntu VPS

頭像
捨棄
作者

I did this and it is working 100% now

report.url http://0.0.0.0:8069/

相關帖文 回覆 瀏覽次數 活動
2
6月 18
12931
2
9月 15
7415
3
3月 19
7718
1
10月 15
6995
1
6月 25
1425