Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/chtozamm/go-containerized-app
A containerized Go application composed with Redis and Nginx
https://github.com/chtozamm/go-containerized-app
docker docker-compose go nginx redis ssl
Last synced: about 1 month ago
JSON representation
A containerized Go application composed with Redis and Nginx
- Host: GitHub
- URL: https://github.com/chtozamm/go-containerized-app
- Owner: chtozamm
- Created: 2024-11-25T20:23:59.000Z (about 1 month ago)
- Default Branch: main
- Last Pushed: 2024-11-26T21:57:33.000Z (about 1 month ago)
- Last Synced: 2024-12-03T09:56:45.983Z (about 1 month ago)
- Topics: docker, docker-compose, go, nginx, redis, ssl
- Language: Go
- Homepage:
- Size: 3.91 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
## Prerequisite
Generate self-signed certificate:
```sh
openssl req -x509 -nodes -days 365 -newkey rsa:2048 -keyout nginx-selfsigned.key -out nginx-selfsigned.crt
```- `req`: command to create and process certificate requests
- `-x509`: specifies that you want to create a self-signed certificate instead of a certificate request
- `-nodes`: tells to not encrypt the private key for server application to read the key without a passphrase
- `-days 365`: sets the validity of the certificate to 365 days
- `-newkey rsa:2048`: generates a new RSA key of 2048 bits
- `-keyout nginx-selfsigned.key`: specifies the filename for the private key
- `-out nginx-selfsigned.crt`: specifies the filename for the self-signed certificate