Pular para o conteúdo
Menu
Esta pergunta foi sinalizada
3 Respostas
5237 Visualizações

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
Cancelar
Melhor resposta

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

Avatar
Cancelar
Autor Melhor resposta

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
Cancelar
Autor

I did this and it is working 100% now

report.url http://0.0.0.0:8069/

Publicações relacionadas Respostas Visualizações Atividade
2
jun. 18
12931
2
set. 15
7412
3
mar. 19
7718
1
out. 15
6995
1
jun. 25
1424