Update infrastructure and auth configuration, add package management files
This commit is contained in:
18
Caddyfile
18
Caddyfile
@@ -17,6 +17,15 @@
|
||||
}
|
||||
|
||||
handle /query {
|
||||
header Access-Control-Allow-Origin *
|
||||
header Access-Control-Allow-Methods "GET, POST, OPTIONS"
|
||||
header Access-Control-Allow-Headers "X-Password, Content-Type"
|
||||
|
||||
@options method OPTIONS
|
||||
handle @options {
|
||||
respond 204
|
||||
}
|
||||
|
||||
reverse_proxy 127.0.0.1:8081
|
||||
}
|
||||
|
||||
@@ -52,6 +61,15 @@
|
||||
}
|
||||
|
||||
handle /query {
|
||||
header Access-Control-Allow-Origin *
|
||||
header Access-Control-Allow-Methods "GET, POST, OPTIONS"
|
||||
header Access-Control-Allow-Headers "X-Password, Content-Type"
|
||||
|
||||
@options method OPTIONS
|
||||
handle @options {
|
||||
respond 204
|
||||
}
|
||||
|
||||
reverse_proxy 127.0.0.1:8081
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user