Recognition

No awards yet.

Posts

3 Posts
  • Published Question

    HSTS (with Nginx) does not work properly

    I want to add HSTS to my Mezzanine 4.2.3 site. Using Nginx 1.10.3 and Ubuntu 16.04. If I take add_header Strict-Transport-Security "max-age=60; includeSubDomains" always; out of the code below, the site works well, an...
    0 By alexalexyang Security Django Nginx Ubuntu 16.04
  • Published Answer

    Domain.com works, *.domain.com returns Bad Request, and www.domain.com does not connect

    Someone advised me to rework my DNS: A: example.com CNAME: *.example.com And to edit my nginx config: # Add this ser...
    Accepted Answer: Someone advised me to rework my DNS: A: example.com CNAME: *.example.com And to edit my nginx config: # Add this ser...
    By alexalexyang
  • Published Question

    Domain.com works, *.domain.com returns Bad Request, and www.domain.com does not connect

    The site loads when I visit the droplet IP address and domain.com. When I go to www.domain.com, Chrome reports: This site can’t be reached www.domain.com’s server IP address could not be found." When I try *.domain....
    Accepted Answer: Someone advised me to rework my DNS: A: example.com CNAME: *.example.com And to edit my nginx config: ``` Add this server block to rewrite subdomains server { listen 80; server_name *.example.com; location / { rewrite...
    2 By alexalexyang Django Deployment DigitalOcean DNS Networking Python Frameworks Ubuntu 16.04