# This is the main nginx config file http { # This is a server block that defines a virtual server server { # This tells nginx to listen on port 443 with ssl enabled listen 443 ssl; # This tells nginx to use the domain name your_domain.com server_name your_domain.com; # This tells nginx the location of the SSL certificate and key files ssl_certificate /etc/ssl/certs/your_domain.crt; ssl_certificate_key /etc/ssl/private/your_domain.key; # This tells nginx to use the ssl-bundle.crt file that contains the intermediate certificates ssl_trusted_certificate /etc/ssl/certs/ssl-bundle.crt; # This tells nginx to use the recommended SSL settings from Mozilla include /etc/nginx/snippets/ssl-params.conf; # This is a location block that matches any request location / { # This tells nginx to proxy the request to localhost 3001 proxy_pass http://localhost:3001; } } }