skip to Main Content

Django Virtual Environment – No module named 'gunicorn' – Nginx

I've followed this guide (https://www.digitalocean.com/community/tutorials/how-to-set-up-django-with-postgres-nginx-and-gunicorn-on-ubuntu-16-04), but I'm presently seeing the following when trying to run gunicorn via the gunicorn service file (/etc/systemd/system/gunicorn.service): Oct 04 11:30:22 ukgcdeploy01 gunicorn[8095]: File "/opt/envs/automation-console-env/bin/gunicorn", line 5, in <module> Oct 04 11:30:22 ukgcdeploy01 gunicorn[8095]: from gunicorn.app.wsgiapp…

VIEW QUESTION

Allowing CORS for api.glossgenius.com – Nginx

I need assistance, i am unsure how to make the API response from "api.glossgenius.com" work properly to get elements of the site working. https://studio21md.com/portfolio Cross-Origin Request Blocked: The Same Origin Policy disallows reading the remote resource at https://api.glossgenius.com/v3/web/portfolio_images?slug=meganhammett. (Reason: CORS…

VIEW QUESTION

How to not need a .dotted file path in nginx configuration

I'm trying to serve my AppLink for google association services. The following works: location /.well-known/assetlinks.json { root /var/www/static/google-association-service/; types { } default_type "content-type: application/json"; } Provided I have the correct file placed at /var/www/static/google-association-service/.well-known/assetlinks.json The URI is what it it…

VIEW QUESTION

Nginx Static Files doesn't load Django

Nginx won't load Django static files. Nginx config: upstream backend { server localhost:8000; } server { server_name wavera.ru www.wavera.ru; location / { include proxy_params; proxy_pass http://backend; } listen 443 ssl; # managed by Certbot ssl_certificate /etc/letsencrypt/live/www.wavera.ru/fullchain.pem; ssl_certificate_key /etc/letsencrypt/live/www.wavera.ru/privkey.pem; include /etc/letsencrypt/options-ssl-nginx.conf;…

VIEW QUESTION
Back To Top
Search