Bỏ qua để đến Nội dung
Menu
Câu hỏi này đã bị gắn cờ
3 Trả lời
5206 Lượt xem

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?


Ảnh đại diện
Huỷ bỏ
Câu trả lời hay nhất

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

Ảnh đại diện
Huỷ bỏ
Tác giả Câu trả lời hay nhất

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

Ảnh đại diện
Huỷ bỏ
Tác giả

I did this and it is working 100% now

report.url http://0.0.0.0:8069/

Bài viết liên quan Trả lời Lượt xem Hoạt động
2
thg 6 18
12911
2
thg 9 15
7401
3
thg 3 19
7704
1
thg 10 15
6976
1
thg 6 25
1412