Skip to Content
Menu
This question has been flagged
3 Replies
5254 Rodiniai

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?


Portretas
Atmesti
Best Answer

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

Portretas
Atmesti
Autorius 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

Portretas
Atmesti
Autorius

I did this and it is working 100% now

report.url http://0.0.0.0:8069/

Related Posts Replies Rodiniai Veikla
2
birž. 18
12938
2
rugs. 15
7422
3
kov. 19
7722
1
spal. 15
7001
1
birž. 25
1440