Recognition

Posts

6 Posts
  • Published Question

    Redirecting https www domain to non-www domain with NGINX.

    I have been looking but I am unable to find a solution. I have set up SSL certificates for my domain and the http traffic redirects to https. What I would like is https://www.example.com to redirect to https://example...
    1 By ShahrukhAhmed Nginx Let's Encrypt Ubuntu 18.04
  • Published Answer

    SendGrid EMail Api: 500 Server Error

    If anyone encounters this problem in the future while using using the SendGrid python tutorial, instead of “`sg = sendgrid.S…
    Accepted Answer: If anyone encounters this problem in the future while using using the SendGrid python tutorial, instead of “`sg = sendgrid.S…
    By ShahrukhAhmed
  • Published Question

    SendGrid EMail Api: 500 Server Error

    I need a system where I am notified when a customer fills the contact form. I am using the SendGrid Python API tutorial here. (https://github.com/sendgrid/sendgrid-python) and I get a 500 server error. It works fine i...
    Accepted Answer: If anyone encounters this problem in the future while using using the SendGrid python tutorial, instead of sg = sendgrid.SendGridAPIClient(apikey=os.environ.get('SENDGRID_API_KEY')) do this sg = sendgrid.SendGridAP...
    2 By ShahrukhAhmed Email
  • Published Question

    Page Speed Insights, Image optimization and Server Side Image Resolution Queries

    While checking my website's Page Speed Insight, I found it lacking in one key area - Image optimizations. The problem is largely in the Homepage, where the large blog images are fitted into small thumbnails. There is ...
    1 By ShahrukhAhmed Django Nginx Ubuntu 16.04
  • Published Question

    Django 1.8.7 on Ubuntu 16.04 doesn't show a PostgreSQL in default database connections like in 14.04.

    Django on Ubuntu 14.04 (one click app) offers a PostgreSQL by default. This isn't the case in 16.04 - is this an installation error or has the feature been removed?
    Accepted Answer: Hi @ShahrukhAhmed The 16.04 image should include PostgreSQL, just like the 14.04 image. Don't you see the database details in the Message Of The Day, when you login thru SSH? https://www.digitalocean.com/community/tu...
    1 By ShahrukhAhmed Django Python PostgreSQL One-Click Install Apps Ubuntu 16.04
  • Published Question

    Django Admin JS 404 and Uncaught TypeError

    I am almost done building my website but while creating an autogenerating slug in Django admin, I found it to be unresponsive. When i looked at the console of my browser i saw a lot of JS error warnings. The nginx is ...
    3 By ShahrukhAhmed Django Nginx Ubuntu