Skip to Content
Menu
This question has been flagged
3 Replies
3723 Views

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
Discard
Best Answer

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

Avatar
Discard
Author 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
Discard
Author

I did this and it is working 100% now

report.url http://0.0.0.0:8069/

Related Posts Replies Views Activity
2
Jun 18
10885
2
Sep 15
5902
3
Mar 19
6223
1
Oct 15
5761
2
Jul 24
2929