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

2022-01-02 Thread ningja
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

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

2022-01-02 Thread Paul
A happy new 2022 to all. A few thoughts, Sunday afternoon, watching the snow fall... On 2022-01-02 4:26 p.m., ningja wrote: [snip] App1 can load the static files and run correctly from URL https://test1.com/app1. Test2 has a Django app2 which has static files under /app/public/static on server

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

2022-01-02 Thread ningja
Hi Francis, Thank you for spent time to answer my question. I am sorry for some of the confusion here. App1 can load the static files and run correctly from URL https://test1.com/app1. Test2 has a Django app2 which has static files under /app/public/static on server test2. I can access it from URL

Re: Setting up a webDAV server

2022-01-02 Thread Maxim Dounin
Hello! On Sat, Jan 01, 2022 at 11:00:33AM -0500, BonVonKnobloch wrote: > Thanks for your help Maxim, but I am afraid that I still can't get PUT to > work. > File permissions are fine, so I assume that my nginx.conf is still wrong: > > location calendar { It is. The location prefix doesn

Re: Setting up a webDAV server

2022-01-02 Thread BonVonKnobloch
Thank you Francis, I had one part of the pathname double and could not see it. Seemingly I have PUT & GET functionality - now for further testing and tightening permissions. I confess to never being sure where a path relative to the nginx directory or a full path is required (reading the docs did n

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

2022-01-02 Thread Francis Daly
On Fri, Dec 31, 2021 at 05:45:07PM -0500, ningja wrote: Hi there, > I have two server test1.com and test2.com. test1 is internet public face > server. Test2 is intranet only server. Both servers have nginx docker > running. I think you are saying that the world can access https://test1.com/app1

Re: Setting up a webDAV server

2022-01-02 Thread Francis Daly
On Sun, Jan 02, 2022 at 05:00:12AM -0500, BonVonKnobloch wrote: Hi there, > I also set 'open' permissions until the thing runs OK, then tighten them. > Still getting '405' on PUT. The dav module documentation and example config is at https://nginx.org/en/docs/http/ngx_http_dav_module.html Can y

Re: Setting up a webDAV server

2022-01-02 Thread BonVonKnobloch
Thanks for the thought Gariac, but no I don't have SELinux enabled, have also disabled AppArmor (had some trouble in the past). I also set 'open' permissions until the thing runs OK, then tighten them. Still getting '405' on PUT. Posted at Nginx Forum: https://forum.nginx.org/read.php?2,293215,2