Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save kevthanewversi/af69ae79b30ee81bfc8a75c479e41f6c to your computer and use it in GitHub Desktop.
Save kevthanewversi/af69ae79b30ee81bfc8a75c479e41f6c to your computer and use it in GitHub Desktop.
nginx conf
server {
listen 443;
server_name goto.kla.xxx.com go; # <== 2 domains
root /var/www/html/docs/sslbeispieldata;
ssl on;
ssl_certificate /var/www/ssl/xx.crt;
ssl_certificate_key /var/www/ssl/xx.key;
return 301 goto.xxxxxxxx.com;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment