diff --git a/nginx-config-translator b/nginx-config-translator new file mode 100644 index 0000000000000000000000000000000000000000..b1073ac3577310040db9520ff270b227f370081b --- /dev/null +++ b/nginx-config-translator @@ -0,0 +1,9 @@ + location /translate { + proxy_pass http://127.0.0.1:6061/; + proxy_http_version 1.1; + proxy_set_header Upgrade $http_upgrade; + proxy_set_header Connection "Upgrade"; + proxy_set_header Host $host; + add_header 'Access-Control-Allow-Origin' '*' always; + add_header 'Access-Control-Allow-Methods' 'GET, POST, OPTIONS' always; + } \ No newline at end of file