Skip to content

fix: update nginx configuration for SSL support and redirect#20

Merged
ronibhakta1 merged 1 commit into
readium:mainfrom
ronibhakta1:fix/deployment-ngnix
Jul 10, 2026
Merged

fix: update nginx configuration for SSL support and redirect#20
ronibhakta1 merged 1 commit into
readium:mainfrom
ronibhakta1:fix/deployment-ngnix

Conversation

@ronibhakta1

Copy link
Copy Markdown
Contributor

This pull request updates the Nginx configuration and Docker Compose setup to enable HTTPS support using Let's Encrypt certificates. The changes ensure that both HTTP and HTTPS traffic are properly handled, with automatic HTTP-to-HTTPS redirection and improved security headers.

Nginx HTTPS enablement and security improvements:

  • Added HTTPS support in Nginx by listening on port 443 and configuring SSL certificates from /etc/letsencrypt (nginx/templates/20-speech-server.conf.template).
  • Implemented automatic HTTP-to-HTTPS redirection for the main domain (nginx/templates/20-speech-server.conf.template).
  • Enhanced security by adding the Strict-Transport-Security header to enforce HTTPS (nginx/templates/20-speech-server.conf.template).

Docker Compose adjustments for HTTPS:

  • Exposed port 443 in the Nginx service and mounted the /etc/letsencrypt directory as read-only to provide SSL certificates (docker-compose.yml). [1] [2]

@ronibhakta1
ronibhakta1 merged commit 06d1683 into readium:main Jul 10, 2026
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.

1 participant