تخطي للذهاب إلى المحتوى
القائمة
لقد تم الإبلاغ عن هذا السؤال
3 الردود
5245 أدوات العرض

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?


الصورة الرمزية
إهمال
أفضل إجابة

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

الصورة الرمزية
إهمال
الكاتب أفضل إجابة

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

الصورة الرمزية
إهمال
الكاتب

I did this and it is working 100% now

report.url http://0.0.0.0:8069/

المنشورات ذات الصلة الردود أدوات العرض النشاط
2
يونيو 18
12933
2
سبتمبر 15
7418
3
مارس 19
7718
1
أكتوبر 15
6996
1
يونيو 25
1435