Matthew Holt
33a318d173
Don't append port to unix sockets
See https://caddy.community/t/caddy-v2-php-fpm-502-error/6571?u=matt
5 years ago
Mohammed Al Sahaf
93bc1b72e3
core: Use port ranges to avoid OOM with bad inputs ( #2859 )
* fix OOM issue caught by fuzzing
* use ParsedAddress as the struct name for the result of ParseNetworkAddress
* simplify code using the ParsedAddress type
* minor cleanups
5 years ago
Matthew Holt
1e31be8de0
reverse_proxy: Allow dynamic backends ( closes #990 and #1539 )
This PR enables the use of placeholders in an upstream's Dial address.
A Dial address must represent precisely one socket after replacements.
See also #998 and #1639 .
5 years ago
Matthew Holt
0830fbad03
Reconcile upstream dial addresses and request host/URL information
My goodness that was complicated
Blessed be request.Context
Sort of
5 years ago
Matthew Holt
d25008d2c8
Move listen address functions into caddy package; fix unix bug
6 years ago
Matthew Holt
3177ee8010
Add license
6 years ago
Matthew Holt
fec7fa8bfd
Implement most of static file server; refactor and improve Replacer
6 years ago
Matthew Holt
f9d93ead4e
Rename and export some types, other minor changes
6 years ago
Matthew Holt
ad3d408067
Add some tests and fix vet warning
6 years ago
Matthew Holt
a8dc73b4d9
Performance testing Load function
6 years ago
Matthew Holt
86e2d1b0a4
Rudimentary start of HTTP servers
6 years ago