Forgot to add the degauss directory contains my html files. I point to it in the nginx.conf file. It loads the index.html when you go to the website in a browser. Not sure if this is the correct way to set this up?
-----Original Message----- From: [email protected] [mailto:[email protected]] On Behalf Of Alex McGregor Sent: Thursday, August 11, 2016 1:37 PM To: uWSGI developers and users list <[email protected]> Subject: Re: [uWSGI] Need Help With uWSGI Sorry should have mentioned it! Here is a copy of the error messages in the log. /08/11 17:53:59 [error] 22095#0: *18 open() "/home/amcgregor/xerase_env/xerase/templates/degauss/{" failed (2: No such file or directory), client: 10.123.52.55, server: _, request: "GET /%7B% HTTP/1.1", host: "xerase.corp.peer1.net", referrer: "http://xerase.corp.peer1.net/" It is a no such file or directory error? Not sure why as the directory does exist? Any suggestions? Thanks, Alex -----Original Message----- From: [email protected] [mailto:[email protected]] On Behalf Of Riccardo Magliocchetti Sent: Thursday, August 11, 2016 1:28 PM To: [email protected] Subject: Re: [uWSGI] Need Help With uWSGI Il 11/08/2016 22:24, Alex McGregor ha scritto: > Hi Riccardo, > > Thanks for the feedback. I did run the collectstatic command and the static > files are located at /home/amcgregor/xerase_env/xerase/static. > > Why would uWSGI ignore the {% load staticfiles %} command. The command shows > up as text in the webpage when rendered? Just curious to understand why? Ah you didn't mentioned that you see them on the screen on yout first email :) Then it looks like you are serving pages from nginx and not uwsgi. What does your nginx logs say? -- Riccardo Magliocchetti @rmistaken http://cp.mcafee.com/d/1jWVIgdEI3HCzBwsCevdTdFEThKOUCUedFEThKOUNtcSCzt6XbyrxEVdEEECzB54QsLK8CZfYfS27NVmN6fAqN1lGAvJlr_yzOVKRifSGJ_NhVsTJDkbqevW_8EFCzBxdzHTbFFLKsCCCeoo7th5dqWqJQTel3PWApmU6CQjqpK_cnd7dSjhPt54srKr01G_2G4xjURWkPrpyx6hsxlK5LE2zVkDjCU49jWkPr0VNYS2_id41Frr0ko2gqqnjh03fZ0Qg1vPRzh00IFAPh0S0EM4wQSOCrVKBIYWzy _______________________________________________ uWSGI mailing list [email protected] http://cp.mcafee.com/d/avndyhJ5wtsQsI3ANPVKVJd6WdSn4T1NJd6WdSn6bFCQQrETpsjsd79J554QsEECzBZN4TF_x-Mg-faS8NYzm8aJkzZGHvYkundSGh-RlL-afbCZIWxrhP_nV55cQsI9ItuVtddZPAQQNP30XG8FHnjlKCVOEuvkzaT0QSCrjdTVyVEVKOqerEEzztPo0c-l9QVK12k-Bf04bA9gMjlS67OFek7qUSoEhArrck8ObAaJMJZ0kvaAWsT0xaviCro7efCMnWhEwdbro2z0i3jiWq80p_E6y0b-uIq805BcCq86M560A6CSkPvOJm This email and any attachments are confidential and intended for the recipient only. If you have received this message in error, please notify the sender immediately, destroy this email and any attachments, and do not use, copy, store and/or disclose to any person this email and any attachments. _______________________________________________ uWSGI mailing list [email protected] http://cp.mcafee.com/d/k-Kr4x8q6h8SyMeKqem1POr1KVJd6WdSn4T1NJd6WdSn6bFCQQrETpsjsd79J554QsEECzBZN4TF_x-Mg-faS8NYzm8aJkzZGHvYkundSGh-RlL-afbCTvh-SzD-LOqbyqb_nKnjppd7fcfFCzCX_bnhIyyHsQsKsG7DR8OJMddECS3t-juKeppd7b3ZPtPo0c-l9QVK12k-Bf04bA9gMjlS67OFek7qUSoEhArrck8ObAaJMJZ0kvaAWsT0xaviCrvjvhdwLQzh0qmSM560A6CBQQg0P_gd40nYZoQg0bapcQgdwac18ddIFCQ9KcCslqxWfl This email and any attachments are confidential and intended for the recipient only. If you have received this message in error, please notify the sender immediately, destroy this email and any attachments, and do not use, copy, store and/or disclose to any person this email and any attachments. _______________________________________________ uWSGI mailing list [email protected] http://lists.unbit.it/cgi-bin/mailman/listinfo/uwsgi
