Skip to Content
मेन्यू
This question has been flagged
3 Replies
5141 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
जून 18
12809
2
सित॰ 15
7330
3
मार्च 19
7655
1
अक्तू॰ 15
6932
1
जून 25
1314