Welcome! Log In Create A New Profile

Advanced

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

January 02, 2022 08:56PM
Hi Paul,

Thank you for reply my question. We supposed to get snow tomorrow too. Looking forward to it...
On test1 box I did curl https://test1.com and I got the landing page of the app1.
On test1 box : curl -k https://test2.com I got the landing page of the app2.

Please see the nginx config file on the test1 from my original post.

Both server has their own IP. I have two separate instances of nginx on separate servers.
I can access https://test1.com/app1 from wan.
I can access https://test2.com/app2 from lan.
I can not load static files https://test2.com/app2 from wan.

What do you mean by "with symbolic links"? My django app2 will need access bundle files under static dir on app2.
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: 312
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready