I used django and weasyprint to make an application which print a pdf file with picture and css file which design my pdf file. I used nginx, gunicorn and supervisor to deploy my application. In my intranet all is ok. When i used INTERNET PUBLIC IP ADDRESS to publish it on internet, my pdf file don't show anymore picture and css design. but all the application's static files work well I see my gunicorn log but nothing. I use Nginx to serve my static file.
A log in django give me this Failed to load stylesheet at http://IP_ADDR/static/css/default.css : HTTPError: HTTP Error 401: Failed to load image at "http://IP_ADDR/static/image/picture_50x48.png <http://IP_ADDR/static/image/cirdes_50x48.png>" (HTTPError: HTTP Error 401: ) I d'ont understand what to do because in my internet network it is working well. What is the problem? -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscr...@googlegroups.com. To post to this group, send email to django-users@googlegroups.com. Visit this group at https://groups.google.com/group/django-users. To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/e006bd20-b31e-4caa-9086-3bc35c14fbd4%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.