Skip to content
This repository has been archived by the owner on Jan 5, 2025. It is now read-only.

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
Contributor

@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
Contributor 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
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants