Repository navigation
Conversation
Member
|
Thanks for this PR. I saw this about a week ago and have been thikning about how to respond. If you are willing to iterate on this with me until I feel it is ready to merge, I'd be happy to discuss the direction to go with this. At a high level, I have a few comments/requests:
As I said, I'm open to discussing how to continue from here. Please post here what your thoughts are. |
Member
|
@javidovl Thanks for your pull request. I will close it at this time since you have not responded to my comments. If you wish to reopen this pull request or submit a new one that addresses the comments, please feel free to do so. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
First, notice in the nginx.conf the second server block is commented out. The reason is, in the case you run docker containers for the first time, it will not find the SSL certificate files because it is not generated yet. So, like this (commented out), you have to run containers and run the command
sudo docker compose run --rm certbot certonly --webroot --webroot-path /var/www/certbot/ -d domain_name.com. After those files generated , those will be stored in the volumecertbot. Without deleting this volume folder, cancel the comment part (second server block) and run containers. Then the website should redirect to https and it should work. Hope it helps!