Updates across the board to the caddy and other configs.

This commit is contained in:
Alexander Blair
2017-03-05 16:20:16 -08:00
parent 885a0ef93c
commit 0a3f8fca85
3 changed files with 6 additions and 3 deletions
+4 -1
View File
@@ -5,8 +5,11 @@
proxy /api 127.0.0.1:8001 {
without /api
}
proxy /socket.io 127.0.0.1:8001 {
header_upstream Connection {>Connection}
header_upstream Upgrade {>Upgrade}
}
header / {
Access-Control-Allow-Origin *
Access-Control-Allow-Methods "GET, POST, OPTIONS"
Access-Control-Allow-Headers "Content-Type, x-access-token"
}