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

CORS fixed and started to add APP_URL to replace in NGINX automatically the domain. #189

Merged
merged 4 commits into from
Oct 27, 2023

Conversation

lvalics
Copy link
Collaborator

@lvalics lvalics commented Oct 26, 2023

CORS fixed and started to add APP_URL to replace in NGINX automatically the domain.

@@ -0,0 +1,16 @@
#!/bin/bash
Copy link
Contributor

Choose a reason for hiding this comment

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

Instead of copying this into the Docker container, can we run this sed command to replace 0.0.0.0 during the make install process? Everything else looks good

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Actually the issue is that the docker start and you cannot edit the conf file because is locked. So this is why I did not found a solution yet. If I stop the NGINX will drop me out so cannot edit.
A solution would be to have the nginx.template.conf with a variable and replace it from makefile. and build it after ....

@davidsmithdevops davidsmithdevops changed the base branch from main to staging October 27, 2023 09:10
@davidsmithdevops davidsmithdevops merged commit cd183d2 into openchatai:staging Oct 27, 2023
1 check passed
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.

3 participants