mirror of
https://github.com/jwinterm/nodejs-pool.git
synced 2026-10-18 05:31:26 +02:00
Updates across the board to the caddy and other configs.
This commit is contained in:
@@ -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"
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user