Updated socket connection code to support docker.
This commit is contained in:
@@ -29,9 +29,9 @@ http {
|
||||
proxy_cache_bypass $http_upgrade;
|
||||
|
||||
# CORS headers
|
||||
add_header 'Access-Control-Allow-Origin' '*'; # Allow all origins (can be restricted to a specific domain)
|
||||
add_header 'Access-Control-Allow-Methods' 'GET, POST'; # Allow GET and POST methods
|
||||
add_header 'Access-Control-Allow-Headers' 'Content-Type, Accept'; # Standard headers for requests
|
||||
add_header 'Access-Control-Allow-Origin' '*';
|
||||
add_header 'Access-Control-Allow-Methods' 'GET, POST';
|
||||
add_header 'Access-Control-Allow-Headers' 'Content-Type, Accept';
|
||||
}
|
||||
|
||||
# Error pages
|
||||
|
||||
Reference in New Issue
Block a user