İçereği Atla
Menü
Bu soru işaretlendi
3 Cevaplar
5153 Görünümler

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
Vazgeç
En İyi Yanıt

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

Avatar
Vazgeç
Üretici En İyi Yanıt

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
Vazgeç
Üretici

I did this and it is working 100% now

report.url http://0.0.0.0:8069/

İlgili Gönderiler Cevaplar Görünümler Aktivite
2
Haz 18
12827
2
Eyl 15
7356
3
Mar 19
7670
1
Eki 15
6941
1
Haz 25
1341