Jump to content

jsoneaday

Member
  • Posts

    1
  • Joined

  • Last visited

Everything posted by jsoneaday

  1. I am using nginx to host my web site. I bought a squarespace domain and squarespace is handling the ssl. How do I setup my nginx server so that ssl works? This is my current nginx.conf file. server { listen 80; listen 443; server_name rustyindie.com 192.168.0.124; # Change to your domain name index index.html; root /usr/local/bin/rustyindie-web/dist; # Change to your static file directory # autoindex on; # Enable directory listing # ssl_certificate /etc/nginx/ssl/nginx.crt; # ssl_certificate_key /etc/nginx/ssl/nginx.key; location / { try_files $uri $uri/ /index.html =404; } } server { listen 3001; server_name 192.168.0.124; # Change to your domain name index index.html; root /usr/local/bin/rustyindie-admin/dist; # Change to your static file directory location / { try_files $uri $uri/ /index.html =404; } }
×
×
  • Create New...

Squarespace Webinars

Free online sessions where you’ll learn the basics and refine your Squarespace skills.

Hire a Designer

Stand out online with the help of an experienced designer or developer.