You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Set variables for mysql container. Docker will create database and user at first UP.
31
42
````
@@ -63,3 +74,14 @@ Includes local end production settings.
63
74
````
64
75
6. **Launch http://localhost:8989/register**
65
76
77
+
### LetsEncrypt and Production
78
+
If you are going to use LetsEncrypt at production look at branch 'letsencrypt' this repository.
79
+
Branch contains ready to use configuration for letsEncrypt in production based on great article [Nginx and Let’s Encrypt with Docker in Less Than 5 Minutes](https://medium.com/@pentacent/nginx-and-lets-encrypt-with-docker-in-less-than-5-minutes-b4b8a60d3a71).
80
+
To use letsEncrypt at production just follow steps below:
81
+
2. Initial settings
82
+
Open ``./init-letsencrypt.sh`` add your domains instead `{YOUR_DOMAIN}` www.`{YOUR_DOMAIN}` and set `{YOUR_EMAIL}`.
83
+
Run ``./init-letsencrypt.sh``. It will create initial settings.
84
+
Note: don't forget to add A DNS record for domain with www.
85
+
3. Nginx settings
86
+
At `.provision/nginx/conf.d/vhost.prod.conf` set `{YOUR_DOMAIN}` variable.
0 commit comments