File tree 2 files changed +27
-1
lines changed
2 files changed +27
-1
lines changed Original file line number Diff line number Diff line change 1
1
MIT License
2
2
3
- Copyright (c) 2022 Nemanja Mitic https://github.com/nemanjam/nextjs-prisma-boilerplate
3
+ Copyright (c) 2022 Nemanja Mitic
4
4
5
5
Permission is hereby granted, free of charge, to any person obtaining a copy
6
6
of this software and associated documentation files (the "Software"), to deal
Original file line number Diff line number Diff line change @@ -48,3 +48,29 @@ labels:
48
48
` ` `
49
49
50
50
- set env vars on host permanently?
51
+
52
+ #### Renew Let's Encrypt certificate manually
53
+
54
+ [tutorial](https://traefik.io/blog/how-to-force-update-lets-encrypt-certificates/)
55
+
56
+ ` ` ` bash
57
+ # -rw------- 1 ubuntu ubuntu 42335 May 15 10:45 acme.json
58
+
59
+ # download acme.json
60
+ scp ubuntu@amd1:/home/ubuntu/traefik-proxy/core/traefik-data/acme.json ./core/traefik-data/acme.json
61
+
62
+ # remove all from array
63
+ " Certificates " : []
64
+
65
+ # push back edited to server
66
+ # chmod stays same 600
67
+ # -rw------- 1 ubuntu ubuntu 3533 Jul 10 15:27 acme.json
68
+ scp ./core/traefik-data/acme.json ubuntu@amd1:/home/ubuntu/traefik-proxy/core/traefik-data/acme.json
69
+
70
+ # restart traefik
71
+ docker-compose down
72
+ docker-compose up -d
73
+
74
+ # backup on server
75
+ scp ./core/traefik-data/acme.json ubuntu@amd1:/home/ubuntu/acme.json.back
76
+ ```
You can’t perform that action at this time.
0 commit comments