Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add a nginx config file which includes the required cors headers #25

Merged
merged 1 commit into from
Apr 25, 2022

Conversation

Half-Shot
Copy link
Member

Fixes #23 , #24

This should hopefully allow any origin to make GET request to us, allowing us to embed the scripts on any page. I've also changed the index default from index.html to chatterbox.html to fix #23

@@ -0,0 +1,36 @@
server {
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This file is largely a copy of the nginx config provided with the docker image, with CORS headers added.

Copy link
Member

@MidhunSureshR MidhunSureshR left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm 👍

@Half-Shot Half-Shot merged commit 0def1ff into main Apr 25, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Docker image defaults / to the nginx welcome page
2 participants