Skip to Content
Menu
This question has been flagged
3 Replies
5212 Zobrazenia

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?


Avatar
Zrušiť
Best Answer

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

Avatar
Zrušiť
Autor Best Answer

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

Avatar
Zrušiť
Autor

I did this and it is working 100% now

report.url http://0.0.0.0:8069/

Related Posts Replies Zobrazenia Aktivita
2
jún 18
12917
2
sep 15
7405
3
mar 19
7708
1
okt 15
6980
1
jún 25
1418