Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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.

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