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

Feature/Dynamic-IP-Handling #67

Open
liocle opened this issue Aug 29, 2024 · 1 comment
Open

Feature/Dynamic-IP-Handling #67

liocle opened this issue Aug 29, 2024 · 1 comment
Assignees
Labels
enhancement New feature or request

Comments

@liocle
Copy link
Collaborator

liocle commented Aug 29, 2024

Title:
Implement Dynamic IP Handling for ALLOWED_HOSTS and CSRF_TRUSTED_ORIGINS

Description:
Update the configuration to allow automatic population of the server's IP address in the ALLOWED_HOSTS and CSRF_TRUSTED_ORIGINS settings in settings.py. This change is needed to support environments where the server's IP address may change due to DHCP assignment. The goal is to automate this process, reducing the need for manual updates when the IP address changes.

Acceptance Criteria:

  • Retrieve the server's current IP address during application startup.
  • Populate ALLOWED_HOSTS and CSRF_TRUSTED_ORIGINS with the correct IP address.
  • Maintain the security and functionality of the application after these changes.
  • Test in environments with dynamic IP assignments to confirm reliability.
@liocle liocle self-assigned this Aug 29, 2024
@liocle
Copy link
Collaborator Author

liocle commented Sep 2, 2024

Postponed to after evaluation

@liocle liocle added the enhancement New feature or request label Sep 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant