Created
December 7, 2021 08:57
-
-
Save spuf/079dfeb78da421006d81e24e65ed0245 to your computer and use it in GitHub Desktop.
https localhost
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
:443 | |
log | |
# openssl req -x509 -out localhost.crt -keyout localhost.key -newkey rsa:2048 -nodes -sha256 -subj '/CN=localhost' -extensions EXT -config <( printf "[dn]\nCN=localhost\n[req]\ndistinguished_name = dn\n[EXT]\nsubjectAltName=DNS:localhost\nkeyUsage=digitalSignature\nextendedKeyUsage=serverAuth") | |
tls localhost.crt localhost.key | |
reverse_proxy 127.0.0.1:3000 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment