Skip to Content
Menu
You need to be registered to interact with the community.
This question has been flagged
3 Odgovori
5164 Prikazi

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

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

Avatar
Opusti
Avtor 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
Opusti
Avtor

I did this and it is working 100% now

report.url http://0.0.0.0:8069/

Related Posts Odgovori Prikazi Aktivnost
2
jun. 18
12836
2
sep. 15
7368
3
mar. 19
7678
1
okt. 15
6945
1
jun. 25
1348