January 03, 2022 08:49AM
Hi Francis,


Thank you. "Yes" both apps have static directory. From the error message that seems nginx IS looking under different path "app1/static" for app1 and "app2/static" for app2 . Does it means "static" did not confuse nginx? (I am not 100% sure ) another thing I should mention : I added a URL for app2 on the app1 landing page which is django path. I think nginx "think" the app2 is part of the app1 so it looking for the static files under test1.
Subject Author Posted

django app static files on the different server not get loaded

ningja December 31, 2021 05:45PM

Re: django app static files on the different server not get loaded

Francis Daly January 02, 2022 07:54AM

Re: django app static files on the different server not get loaded

ningja January 02, 2022 04:26PM

Re: django app static files on the different server not get loaded

Paul January 02, 2022 06:34PM

Re: django app static files on the different server not get loaded

ningja January 02, 2022 08:56PM

Re: django app static files on the different server not get loaded

ningja January 03, 2022 08:52AM

Re: django app static files on the different server not get loaded

Francis Daly January 03, 2022 05:54AM

Re: django app static files on the different server not get loaded

ningja January 03, 2022 08:49AM

Re: django app static files on the different server not get loaded

ningja January 03, 2022 09:59AM

Re: django app static files on the different server not get loaded

ningja January 03, 2022 05:58PM

Re: django app static files on the different server not get loaded

Francis Daly January 05, 2022 10:52AM

Re: django app static files on the different server not get loaded

ningja January 05, 2022 11:36AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 87
Record Number of Users: 6 on February 13, 2018
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready