From 20c5eaf47d3a0df7b009ec7e3f7206056f86160e Mon Sep 17 00:00:00 2001 From: john Date: Mon, 1 Jul 2024 19:01:47 +0800 Subject: [PATCH] =?UTF-8?q?=F0=9F=90=9E=20fix:?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- nodeai.worid.crt | 100 +++++++++++++++++++++++++++++++++++++++++++++ nodeai.worid.key | 28 +++++++++++++ nodeai.worid.pem | 27 ++++++++++++ nodeai.world.conf | 59 ++++++++++++++++++++++++++ src/pages/Home.tsx | 4 +- 5 files changed, 216 insertions(+), 2 deletions(-) create mode 100644 nodeai.worid.crt create mode 100644 nodeai.worid.key create mode 100644 nodeai.worid.pem create mode 100644 nodeai.world.conf diff --git a/nodeai.worid.crt b/nodeai.worid.crt new file mode 100644 index 0000000..b4ab68b --- /dev/null +++ b/nodeai.worid.crt @@ -0,0 +1,100 @@ +-----BEGIN CERTIFICATE----- +MIIFuTCCBKGgAwIBAgIRAM0x4XaWUXTydUUUUxaKx6swDQYJKoZIhvcNAQELBQAw +gY8xCzAJBgNVBAYTAkdCMRswGQYDVQQIExJHcmVhdGVyIE1hbmNoZXN0ZXIxEDAO +BgNVBAcTB1NhbGZvcmQxGDAWBgNVBAoTD1NlY3RpZ28gTGltaXRlZDE3MDUGA1UE +AxMuU2VjdGlnbyBSU0EgRG9tYWluIFZhbGlkYXRpb24gU2VjdXJlIFNlcnZlciBD +QTAeFw0yNDA2MjgwMDAwMDBaFw0yNDA5MjYyMzU5NTlaMBcxFTATBgNVBAMTDG5v +ZGVhaS53b3JsZDCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAJ699oW5 +ui84v8H0mCdkfvLMT8oNOuHok1swS9qVPATsG+nunCFNJ4MWIkjWjRdYHIAMKkSh +hwVnXrTnAQBSnijODJEm4XvTlC7iX3GqMoFZzH4HO635bKQUKQ4IS/W4iBTgVNP/ +jPV9q+uiHdGYw32IdAcvMBybJZK6hu6hHCPzav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M309z/+3ri0ivCRlv79Q2R+ +/czSAaF9ffgZGclCKxO/WIu6pKJmBHaIkU4MiRTOok3JMrO66BQavHHxW/BBC5gA +CiIDEOUMsfnNkjcZ7Tvx5Dq2+UUTJnWvu6rvP3t3O9LEApE9GQDTF1w52z97GA1F +zZOFli9d31kWTz9RvdVFGD/tSo7oBmF0Ixa1DVBzJ0RHfxBdiSprhTEUxOipakyA +vGp4z7h/jnZymQyd/teRCBaho1+V +-----END CERTIFICATE----- \ No newline at end of file diff --git a/nodeai.worid.key b/nodeai.worid.key new file mode 100644 index 0000000..9b35aa2 --- /dev/null +++ b/nodeai.worid.key @@ -0,0 +1,28 @@ +-----BEGIN PRIVATE KEY----- +MIIEvQIBADANBgkqhkiG9w0BAQEFAASCBKcwggSjAgEAAoIBAQClZYi6pLHxz6G9 +MSxUpeD44ADWJQ37QsA+fSZLURUkN7Vq8o7dafbgxLTveUcbrWhXlaU92+rQ7Z2Z +svBQ8NcmnQOSFuTzNMfvrGK7nr9PxwLdAvQmdkKZvCeMdVrZFKK5BMX0i3cvmbEp +td6mhs5BaJW5aNSZH9/qfCBLRcBm5dTNlKJB8e2m4b6Ib7aQ29ZtbD77F+tfXy2W ++eH4p2EtbkaSd2qv6CGn79rQsA/16LjA5GnLhFiYej37RKgEWNGBGbkmYoJznFVy +JUrZJCTcKLnJQJObzzcto2t93unOXYP4Tpyru0eQpDOqNwx31oNdM9lVZ3vfE4xc +aJ1vOOV3AgMBAAECggEAMKNlrIFvRM2K4jCaOUBYosd454CZFnkgQKAcCU0MWwy4 +4Hz5D1qwe5PNI5k2FIkPpKYApGrOKGegD4lkC2Fv286TtLvf0zeDzlMS69q4ptS+ +3lCWjNL9Lel7dd4y+6CKY79oGUyEHa7kPwBZO/5rnCeN1CrkTi1l8zZSZuBZvshB +mh1wRXD4gAtl+kpqhWyiTbZPDnd98ngaO8QTyKthAqugjnbI+BZgD7nYQQ2NM6ia ++eeLFls6k6/IFWHwcanZ1+aD8lBtRdBHgfcw4wCN/tJxdeqyZnq+Ptegz84Vj4em +FCpiRlA6DM0WpI+GkRcUDTaU1UAF5WSOtC9BnSpa2QKBgQDSBkI1V86Ix4L8ZofY +BTfotTSuJPoLkxMXoEXb86H+Er9db6TnsAhUTyhD7mnbF8XF76txEZs3ytvhXHq0 +g10Ls+8jlNsqXW1ar4TeVHcDJNXLMl3L2gM7nZ0Dw7ET1AxR/L2+w9LjMA3E6q2H +P9238pzjDjOBv8lRjGJMTFBvKQKBgQDJmlaEpzpJ0jbqR0C3YdRZcQmkazTXiwXl +Ee+tdsvBdDd3IcgcpBwGrPaISy5CnO6VnaFkB28Hsvl0SDV1+60fdaOELSmmahKd +nYmSeO2YUQtYXy/6V/l3yST0VlL76byrAGNfa75HlDlgyRyz8oMfquzMGzYIs539 +/gt1z+9jnwKBgQCgJnGaJ4iwOCKjwLNZgDEv2+191WhuJwpp+6cJn/Aow7b00stW +eJ8BWxMDKevCS5Bd7PI4WAqaMrAUWuaee4UaBW0XHs04suFOQ4T33EScOxxjw9ZO +OcI5VWiDlFeVHR7/7c/qhXxsDRqSy7ji50p0mCYV5aBVEh+7dWcHczHqcQKBgHOc +lYcHG28gJSve5qcDbDJKl5v5etksuZmu2oLggGKVUgV4kviRyByv7cUlUAcVVeDo +/5eMh8ijg1iC3F2nkZVb8gSnnZ34cGqA4FbmEGLr/xSTqcDn2IEwEYgpRPeACBkM +ZPBgqkMEJo9xZYtwRG/RpnA6HpeI4c65dDsAnqjDAoGAQta9vNa9KH8fpEK3DCVV +JSOi0HNw6jgwi1KVN3uD3g1t9KTMKugjKn+NT1wNW/aovYLkEe1VtlDvPzmen/5Y +scmamazk1+s9dbRDfPXfqL1xN2tX7EpMkfiCCpqD38013eHddC6JXpUuOkmrANfc +S5y9cEj8j6Waya5kNuQqSVs= +-----END PRIVATE KEY----- \ No newline at end of file diff --git a/nodeai.worid.pem b/nodeai.worid.pem new file mode 100644 index 0000000..293959e --- /dev/null +++ b/nodeai.worid.pem @@ -0,0 +1,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QQ0MDIw +MAYIKwYBBQUHMAGGJGh0dHA6Ly9vY3NwLmNsb3VkZmxhcmUuY29tL29yaWdpbl9j +YTAnBgNVHREEIDAegg4qLm5vZGVhaS53b3JsZIIMbm9kZWFpLndvcmxkMDgGA1Ud +HwQxMC8wLaAroCmGJ2h0dHA6Ly9jcmwuY2xvdWRmbGFyZS5jb20vb3JpZ2luX2Nh +LmNybDANBgkqhkiG9w0BAQsFAAOCAQEAGISJxOYxuAAXapVJxU5vP2rt61xH1vC8 +UEUSD7u3WUoULJIZt3pHyfUI6twxHlXttlFWEq3aogrpuGlv76OCXILNy5B4Xkx8 +OR47xvO5EClDdVJb9a5hET6iJn9UXR9UrSiuzZAE0HEOK1t3KEJOFh0/39sDqwTn +pJ49DjiVA7TvvJgUljjnumf40I1F6apuZbdnW03VHr3WsBkPE/wv+ZEBxwRTZaLB +1BakIMguI8tnSSReAf4O+oOwIAgz0OwT18d/xc4O8hhkitdfUnON03KZLEK26J1r +KQ+8PPhMBKVjsPTM9li8vAWSq8Cc3GxoNnvOeV/u1NXnxfD+X6vBwA== +-----END CERTIFICATE----- \ No newline at end of file diff --git a/nodeai.world.conf b/nodeai.world.conf new file mode 100644 index 0000000..c1b9b93 --- /dev/null +++ b/nodeai.world.conf @@ -0,0 +1,59 @@ +server { + server_name nodeai.world www.nodeai.world; + client_max_body_size 50m; + listen *:80; + listen *:443 ssl; + #ssl on; + + # 静态文件夹和域名对应 + root /data/nginx/nodeai.world; + index index.html index.htm; + + # 日志文件名和域名对应 + access_log /data/nginx/logs/nodeai.world.access.log; + error_log /data/nginx/logs/nodeai.world.error.log; + + ssl_certificate cert/nodeai.worid.pem; + ssl_certificate_key cert/nodeai.worid.key; + + location /upload { + root /data/nginx/; + index index.html; + } + + location /api { + proxy_pass http://127.17.0.1:8102; + proxy_headers_hash_max_size 51200; + proxy_headers_hash_bucket_size 6400; + proxy_set_header Host $host; + proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; + proxy_set_header X-Forwarded-For $remote_addr; + + proxy_buffering off; + + proxy_http_version 1.1; + proxy_set_header Upgrade $http_upgrade; + proxy_set_header Connection "upgrade"; + } + + location /api/api { + proxy_pass http://127.17.0.1:8102/api; + proxy_headers_hash_max_size 51200; + proxy_headers_hash_bucket_size 6400; + proxy_set_header Host $host; + proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; + proxy_set_header X-Forwarded-For $remote_addr; + + proxy_buffering off; + + proxy_http_version 1.1; + proxy_set_header Upgrade $http_upgrade; + proxy_set_header Connection "upgrade"; + } + + location /zip { + alias /data/nginx/zip/;#此处定义映射文件位置 + allow all; + autoindex on; + } +} diff --git a/src/pages/Home.tsx b/src/pages/Home.tsx index cf17641..1d56cb5 100644 --- a/src/pages/Home.tsx +++ b/src/pages/Home.tsx @@ -1,7 +1,7 @@ /* * @LastEditors: John * @Date: 2024-06-26 15:04:10 - * @LastEditTime: 2024-07-01 16:47:34 + * @LastEditTime: 2024-07-01 17:35:37 * @Author: John */ import classes from "./Home-m.module.css"; @@ -220,7 +220,7 @@ function Mobile() { }} className={classes.invite_content_icon} name="fuzhi" - color={"#fff"} + color={"#101010"} />{" "} ) : (