Skip to content

Commit

Permalink
Fix Nginx reload
Browse files Browse the repository at this point in the history
  • Loading branch information
grantfitzsimmons committed Dec 24, 2024
1 parent 0eee780 commit c8436d8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion sphinx/aws/ec2_rds_specify7_setup.md
Original file line number Diff line number Diff line change
Expand Up @@ -261,7 +261,7 @@ certbot certificates;
vim spcloudservers.json # change line to `https: true`
make;
sudo docker compose up -d;
sudo docker exec -it specifycloud_nginx_1 nginx -s reload; # Maybe needed
sudo docker exec -it specifycloud-nginx-1 nginx -s reload; # Maybe needed
```

You might want to extend the time of your ssh connection:
Expand Down
2 changes: 1 addition & 1 deletion sphinx/misc/add_new_instance_to_specify_cloud.md
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@
```bash
docker exec -it specifycloud-nginx-1 nginx -s reload
```
1. For automatic nginx reloading on certificate renewal create /etc/letsencrypt/renewal-hooks/post/reload-nginx.sh `#!/bin/bash docker exec -it specifycloud_nginx_1 nginx -s reload`
1. For automatic nginx reloading on certificate renewal create /etc/letsencrypt/renewal-hooks/post/reload-nginx.sh `#!/bin/bash docker exec -it specifycloud-nginx-1 nginx -s reload`
2. `crontab -e;` and then add the line `0 3 * * 0,2,4,6 docker exec specifycloud_nginx_1 nginx -s reload`
3. `crontab -l` to list cronjobs
5. Add Specify Admin user credentials to the Bitwarden Vault
Expand Down

0 comments on commit c8436d8

Please sign in to comment.