Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
easybistro-api-docker
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Packages
Packages
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Sasit Wiratjinda
easybistro-api-docker
Commits
34ed724a
Commit
34ed724a
authored
Nov 24, 2022
by
Ai-Sasit
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix ssl
parent
6f875eaf
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
46 additions
and
46 deletions
+46
-46
cert.pem
cert.pem
+18
-18
key.pem
key.pem
+26
-26
main.py
main.py
+2
-2
No files found.
cert.pem
View file @
34ed724a
-----BEGIN CERTIFICATE-----
-----BEGIN CERTIFICATE-----
MIIE
azCCAtOgAwIBAgIQKN0XHUhhQ0Lns7g2OcO8u
jANBgkqhkiG9w0BAQsFADCB
MIIE
cDCCAtigAwIBAgIQQj89Lu+Xs7IMI8NADapy9
jANBgkqhkiG9w0BAQsFADCB
kTEeMBwGA1UEChMVbWtjZXJ0IGRldmVsb3BtZW50IENBMTMwMQYDVQQLDCpBSS1T
kTEeMBwGA1UEChMVbWtjZXJ0IGRldmVsb3BtZW50IENBMTMwMQYDVQQLDCpBSS1T
QVNJVFxzYXNpdEBBaS1TYXNpdCAoU2FzaXQgV2lyYXRqaW5kYSkxOjA4BgNVBAMM
QVNJVFxzYXNpdEBBaS1TYXNpdCAoU2FzaXQgV2lyYXRqaW5kYSkxOjA4BgNVBAMM
MW1rY2VydCBBSS1TQVNJVFxzYXNpdEBBaS1TYXNpdCAoU2FzaXQgV2lyYXRqaW5k
MW1rY2VydCBBSS1TQVNJVFxzYXNp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xS
WfjKVwwpegVEQwY6oaa/cGj0SZmzAPqPnGtpLh2FEUfvspMW6i4I1SZqwzPTz2TT
yn93G95xwva1uEuYXzlJU7IzngJ9/WMAAL0zXjfF/GN05HniikEQAKMUy5fwvBNZ
ORfqzFNHN2uJbFJpzn9ASf/EEOGBE7hrvIJu7ijyfTsybs2/6/hmlm+Cqph/FtjK
z5v81HExj4wYGpr7fAZiIOoY8PKSgRLMUs+mP4EWHruf6+N/tOUVV63yv6jD34IB
HHnpF3GtTWeawStyymv3QeW9iCdVEivXUjyZue5SDVO4u5Wnk0zjOwi3XHFjl5C+
L83NVvemwQi4vTiG6n7LtOLsndDFhvR+Yw9gio8vu+ebn0zrc0uKLrKIJ8yssjkX
4ZdCGb01igGGjV2wrNb0qqLtDe07mr+k+XC1TZ6wow==
AMcVL7Qwl6td04Cn2W+nPGHqyC3Jq2u0NKCkncEqns3eKn2D
-----END CERTIFICATE-----
-----END CERTIFICATE-----
key.pem
View file @
34ed724a
-----BEGIN PRIVATE KEY-----
-----BEGIN PRIVATE KEY-----
MIIEv
QIBADANBgkqhkiG9w0BAQEFAASCBKcwggSjAgEAAoIBAQDBb0RKJcL7zdTU
MIIEv
wIBADANBgkqhkiG9w0BAQEFAASCBKkwggSlAgEAAoIBAQCtM4eHndtkouQk
9N0+lFk/PlV2e/Lerm7+k3Ls2b3pKwoyQ7a/9IWcowxuuC1IpUNyr2CXaXZ+G/HY
NYd4cVEoD/t4fVicFWSp+pK1tBhsjGJpRSkHiZOcjrMi8DvCjKv16vbZGSPBJRRt
4z7EO3di1DNfziVSWjg0u5aa5f+CYCiccSHSxfhurZplRLxxfS7rruYzEX2RbKCB
lCUIcUeZAiiL3MsUFSW4IfUPl3DeYuWXZKkHLBP68TWk1G9QX4EorZFquB2h2z2Q
cMOPSYOgvYrESi/E572Gk9vr1dWpO/x71l7lF5UAXwlF7VlQoBVFw5opWs9zNltV
MLiSI2Ps44rFzQrd5iHWcj22X4yDf21IKAZeq2MHm6FehAVjW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/sGgJPasAYeIFcOnNQJrrnT
tSqNFegpUZ+vbpzM1bw9omkdAUxMaIHLN3rn9EOvk7G02q0NwHkWBOlLxtCFvvgf
stoloCAIUQ9E9VoNc4rkc8VGq+ML4a82ZvnOu1jadcxQ+/vgsr+19TF6Dd5a6PFs
IJqps14MbCbs1HN8pl82HUHPY47ZLO37WPluEgXEtuRghBsIGgZNCQ7+mdyVmoaP
1jk/lIZTsFVzxpeznkvadHXUKxuHa57Pon+FXulpAoGAdA0KN0Hvr3f1w90EZYk9
Q64xQhHyP0ntT6jAIwX5RncuSaFV+hmr/3JZeztp5nECgYBLnc5ck7aKbvAfxxvT
Q+w4MDEidBfK/PjvVBMHp5ePlao4PGLrk97CDfvTqzFARR70F4R40/Sv2oM7a5Rn
CHTO8jbebtJ7QdQPI8i03Z0jV5t/iKWu4+y6DBJB7+mPYg5uBEUdaTHok/yKMIPu
6T42nYI0Ssb2XfbkwcyWZWdpm5iWmwQodyAUW+BBLVlpjs64oK4H6+iKB/RXReu2
b9fTXFcUW1zJztfPYku74lkeeXsDrozF7l5w/yfTEtI6DvVv685hrDKooCtxkmuc
hxfFRzK4pCngebAxEJO7qmk
=
sqCpL2WKlMqThupIn200etV6HQ=
=
-----END PRIVATE KEY-----
-----END PRIVATE KEY-----
main.py
View file @
34ed724a
import
uvicorn
import
uvicorn
if
__name__
==
"__main__"
:
if
__name__
==
"__main__"
:
uvicorn
.
run
(
"server.core:app"
,
host
=
"0.0.0.0"
,
port
=
5000
,
reload
=
True
)
uvicorn
.
run
(
"server.core:app"
,
host
=
"0.0.0.0"
,
port
=
5000
,
reload
=
True
,
ssl_keyfile
=
"./key.pem"
,
ssl_certfile
=
"./cert.pem"
)
\ No newline at end of file
\ No newline at end of file
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment