Skip to content

Change to HTTP localhost - #108

Merged
javidahmed64592 merged 6 commits into
mainfrom
change-to-http-localhost
Aug 1, 2026
Merged

Change to HTTP localhost#108
javidahmed64592 merged 6 commits into
mainfrom
change-to-http-localhost

Conversation

@javidahmed64592

Copy link
Copy Markdown
Owner

This pull request removes support for built-in SSL certificate generation and HTTPS, migrating the project to use plain HTTP on port 8000 by default. All documentation, configuration, and code related to SSL/TLS, certificate management, and HTTPS endpoints have been updated or removed to reflect this change. The pull request also updates dependencies and simplifies some config files.

Migration from HTTPS to HTTP and removal of SSL certificate support:

  • Removed certificate generation and management: The certificate_handler.py file and the CertificateConfigModel have been deleted, and all references to SSL certificates and related configuration are removed from the codebase and documentation. (python_template_server/certificate_handler.py [1] python_template_server/models.py [2] configuration/config.json [3] .github/copilot-instructions.md [4] [5] [6] README.md [7] [8] docs/source/server.rst [9]
  • Changed default protocol and port: All references to https://localhost:443 are now http://localhost:8000, and the default port is set to 8000 in environment variables, Docker, and documentation. (.env.example [1] .github/workflows/docker.yml [2] docker-compose.yml [3] [4] Dockerfile [5] README.md [6] RELEASE-NOTES.md [7] docs/source/server.rst [8] [9] docs/source/smg.rst [10] .github/copilot-instructions.md [11] [12] [13]
  • Updated health checks and Docker configuration to use HTTP and port 8000. (docker-compose.yml [1] [2] Dockerfile [3]

Documentation and config cleanup:

  • Removed references to certificate handling and HTTPS from documentation, code comments, and config files. (.github/copilot-instructions.md [1] [2] [3] [4] README.md [5] [6] docs/source/server.rst [7] [8] [9] docs/source/smg.rst [10] .dockerignore [11]
  • Simplified CORS config formatting in configuration/config.json. (configuration/config.json configuration/config.jsonL8-R11)

Dependency updates:

  • Updated several dependencies to their latest versions in pyproject.toml, including cryptography, fastapi, uvicorn, and pytest-env. (pyproject.toml pyproject.tomlL21-R35)

Other minor cleanups:

  • Removed unused or obsolete volumes and code references related to certificates. (docker-compose.yml [1] [2] .dockerignore [3]
  • Minor docstring and comment cleanups in startup code. (python_template_server/main.py python_template_server/main.pyL46-R46)

These changes collectively shift the template to a simpler, HTTP-only setup, making it easier to run locally and in containers without SSL/TLS management.

@javidahmed64592
javidahmed64592 merged commit 25c6d19 into main Aug 1, 2026
16 of 17 checks passed
@javidahmed64592
javidahmed64592 deleted the change-to-http-localhost branch August 1, 2026 01:03
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