Replies: 1 comment
-
I am using it with caddy so I can run it under HTTPS. Makes it easier to debug things in general. CADDY_RUN_VAR_BROWSE_PATH=. # Caddyfile
{
email [email protected]
log {
output stdout
format console
level DEBUG
}
admin :2019
}
# https://localhost
localhost {
file_server {
root {$CADDY_RUN_VAR_BROWSE_PATH}
browse
}
}
# https://hello.localhost
hello.localhost {
respond "Hello world!"
}
# https://app.localhost
app.localhost {
reverse_proxy {$CADDY_RUN_VAR_PROXY_PATH_PORT}
}
# start caddy ...
caddy start --config ./Caddyfile --adapter caddyfile --watch It needs CORS settings added... |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Caddy is pretty great open source project for providing easy assistance for running local web service like this with https support. So even in local environment people can use this with https support free of cost easily so just thought to share with you :-))
Beta Was this translation helpful? Give feedback.
All reactions