Skip to content

Commit

Permalink
feat: https
Browse files Browse the repository at this point in the history
  • Loading branch information
songxingguo committed May 16, 2024
1 parent 96dccce commit d89198a
Show file tree
Hide file tree
Showing 4 changed files with 59 additions and 59 deletions.
8 changes: 4 additions & 4 deletions nginx/default.conf
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
server {
listen 80;
listen [::]:80;
server_name garden.songxingguo.com;
server_name resume.songxingguo.com;

#access_log /var/log/nginx/host.access.log main;

Expand Down Expand Up @@ -47,11 +47,11 @@ server {

server {
listen 443 ssl http2;
server_name garden.songxingguo.com;
server_name resume.songxingguo.com;

ssl on;
ssl_certificate /etc/nginx/https/garden.songxingguo.com_bundle.crt;
ssl_certificate_key /etc/nginx/https/garden.songxingguo.com.key;
ssl_certificate /etc/nginx/https/resume.songxingguo.com_bundle.crt;
ssl_certificate_key /etc/nginx/https/resume.songxingguo.com.key;

ssl_session_timeout 5m;

Expand Down
27 changes: 0 additions & 27 deletions nginx/garden.songxingguo.com.key

This file was deleted.

27 changes: 27 additions & 0 deletions nginx/resume.songxingguo.com.key
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
-----BEGIN RSA PRIVATE KEY-----
MIIEowIBAAKCAQEAzSqwg1Jh0/CXqB7bRMd+DUrnOjCcT6QvVbl8tBksBgwUu/Px
e8VivRj5kdn6fi0kxK0/pPOCBsl96Bm7AeBqKCcn736GBL26o+CTVipyA/XoJHvS
Cir1pBjAKt4kZy1zAiE9rtvAOLPv15ftNSZuwwBF8LIQhqHMZ6UKXh+M2EOn0jmw
icOTMNyUGzY/aVHORzjbwpXJTBE3YZdmx/jl3PIEv1n60Am16AIahv2cTAH5wQR9
3oPsl90VFs0UieY7O0E4POfQFkaIFCmiWom/p0LDbRdTsKJStK0RHxpxlBB8ykL+
V+rbyeUCWipd8kGh4OeuVC7ThdKxJI/WlscNeQIDAQABAoIBAAlP0zQapJsIc/Gq
+Nu9zDBRQn5nH2kT9BwJb6oC7HcXzEcdksvB0THw9L7Ub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OTV4rQ/V/7DcdaJQeeOoHiHmz7m/Ge0idXSHUkLFEgH3drKh
BCwXQWgn5Spuc4HE7io50ADSkTimPNzMTdySFsxBqbacdVcQiurw
-----END RSA PRIVATE KEY-----
Original file line number Diff line number Diff line change
@@ -1,39 +1,39 @@
-----BEGIN CERTIFICATE-----
MIIGdjCCBN6gAwIBAgIRAJuQmGip7ylb+E+R6uUokIQwDQYJKoZIhvcNAQEMBQAw
MIIGdjCCBN6gAwIBAgIRAJ+RjYg8L1l9yry5XMcAkjcwDQYJKoZIhvcNAQEMBQAw
WTELMAkGA1UEBhMCQ04xJTAjBgNVBAoTHFRydXN0QXNpYSBUZWNobm9sb2dpZXMs
IEluYy4xIzAhBgNVBAMTGlRydXN0QXNpYSBSU0EgRFYgVExTIENBIEcyMB4XDTI0
MDQxOTAwMDAwMFoXDTI1MDQxOTIzNTk1OVowITEfMB0GA1UEAxMWZ2FyZGVuLnNv
bmd4aW5nZ3VvLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAL+i
+3UHUTqE1DgYss924G46fqbujjJtsy8ZD678RS8+KnMm4ATiSZevMGuTgP2vCCVD
D8nqjnC/kJsYMVgQAX9HDJflaKlg1cZgJ4zGrGRt5HLSh3o8Fm66GEeqrhJquLar
gM6bCvAAuqwQXGgdgi8IWLG98k0CqUZLxH/fJ/u4WwP12Ws/Ws1BRtYOD7ZcfTH6
Ka08uWUI+saeKTI2yyNGzb3YmpwHBPx1m+6hOtMskHq5j/u9zZBNiv25dksM98qx
r/FUtkKe8ZuKMhvlgCoCxS5rutwT4MaObfX6UTopiOV+BYW7Y0Wt2WYxZOoLKCHz
jnekpnVQPaVgStUXe+ECAwEAAaOCAu8wggLrMB8GA1UdIwQYMBaAFF86fBEQfgxn
cWHci6O1AANn9VccMB0GA1UdDgQWBBSfYMXSuFQnkkEffBjmxXYFkTl7mTAOBgNV
MDExMDAwMDAwMFoXDTI1MDEwOTIzNTk1OVowITEfMB0GA1UEAxMW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BQAw
Expand Down

0 comments on commit d89198a

Please sign in to comment.