Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/lukaswilkeer/docker-nginx-route-redirect
Docker image for node.js and react apps with https enabled.
https://github.com/lukaswilkeer/docker-nginx-route-redirect
devops docker images nginx
Last synced: 16 days ago
JSON representation
Docker image for node.js and react apps with https enabled.
- Host: GitHub
- URL: https://github.com/lukaswilkeer/docker-nginx-route-redirect
- Owner: lukaswilkeer
- Created: 2020-10-08T20:29:27.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2021-11-27T12:26:10.000Z (about 3 years ago)
- Last Synced: 2024-11-14T12:55:28.931Z (3 months ago)
- Topics: devops, docker, images, nginx
- Language: JavaScript
- Homepage:
- Size: 213 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# docker-nginx-route-redirect
This is a demonstration of how to force the use of https using nginx and docker.
To get up and running you i'll need to setup you signed ssl cert files. Infos can be located at [web/nginx.template.conf](web/nginx.template.conf)
TL;DR: In references you can encounter how to use env files on a Dockerfile to better manangement of the environment.
## References:
* https://docs.nginx.com/nginx/admin-guide/installing-nginx/installing-nginx-docker/
* https://docs.nginx.com/nginx/admin-guide/web-server/reverse-proxy/
* https://www.hostinger.com.br/tutoriais/nginx-redirect-http-to-https/
* https://serverfault.com/questions/577370/how-can-i-use-environment-variables-in-nginx-conf
* https://docs.docker.com/compose/environment-variables/
* http://nginx.org/en/docs/http/configuring_https_servers.html