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

Nginx integration #54

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open

Nginx integration #54

wants to merge 1 commit into from

Conversation

DubeyAkshat
Copy link
Collaborator

This merge request addresses issue #37.

* Add Nginx configurations

- Added Dockerfile and default.conf files for nginx
- Introduced nginx service in docker-compose.yml
- Set `ALLOWED_HOSTS` in settings
- Added specific Nginx configurations in Django settings

Please note:
The `ALLOWED_HOSTS` setting can take an environment variable value `ALLOWED_HOSTS_DJANGO`.

* Add --clear flag to collectstatic command in Dockerfile

Enhance the collectstatic command in the Dockerfile by adding the --clear flag. This ensures a clean and up-to-date static files collection during the container build process.

* Use environment variables in nginx conf file

* Remove extra nginx config fields

* docs: Update README.md for Docker installation post nginx implementation
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.

1 participant