mining-pool/deployment/caddyfile

16 lines
371 B
Text
Raw Normal View History

# Catch-all vhost
:80 {
root /var/www
proxy /leafApi 127.0.0.1:8000
proxy /api 127.0.0.1:8001 {
without /api
}
header / {
Access-Control-Allow-Origin *
Access-Control-Allow-Methods "GET, POST, OPTIONS"
Access-Control-Allow-Headers "Content-Type, x-access-token"
}
gzip
2017-02-14 19:10:52 -08:00
mime .manifest text/cache-manifest
2017-02-21 18:13:53 +02:00
}