You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
16 lines
371 B
16 lines
371 B
# 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
|
|
mime .manifest text/cache-manifest
|
|
}
|