Skip to content
#

http-server

Here are 2,281 public repositories matching this topic...

caddy
simonalbrecht
simonalbrecht commented Dec 14, 2020

I am trying to build a Caddy configuration that can cater to multiple environments (production, staging, local development).
To achieve this, I want to use environment variables for the base host names/urls, via the {env.*} placeholder. This works great in addresses, route matches and upstream reverse-proxy configuration.

Unfortunately, using the same approach does currently not work when

drogon
1
KaungZawHtet
KaungZawHtet commented Dec 8, 2020

How is security preparation for both of maintainers and drogon users ?
Here are something I hope in drogon's roadmap : some security advice with drogon specific code in the documentation , default security tightening in starter projects (example, authentication and authorization in default state of starter projects) and security enhancement in default state of drogon .

In PHP world

armeria
ikhoon
ikhoon commented Mar 19, 2020

In our codebase, we push RequestContext and immediately run some code with try-with-resources.
For example:

try (SafeCloseable ignored = ctx.push()) {
    logger.trace(decorate(msg));
}

If RequestContext provides run(Runnable) or call(Callable) we can reduce boilerplate code and simplify it.

ctx.run(() -> logger.trace(decorate(msg));

This is inspired by g

rossabaker
rossabaker commented Dec 5, 2020

These files have parboiled imports that need to go. We are moving them to cats-parse. Some of these files are related. Some are enormous and can be broken down. They could be tasked better, but this is a start.

All work should target the dotty branch. 3.0.0-M1 doesn't compile yet, but all of this will get it closer. CI will fail on the 3.0.0-M1 builds. Don't panic.

Basic steps:

  1. W

Improve this page

Add a description, image, and links to the http-server topic page so that developers can more easily learn about it.

Curate this topic

Add this topic to your repo

To associate your repository with the http-server topic, visit your repo's landing page and select "manage topics."

Learn more

You can’t perform that action at this time.