Commit Graph

44 Commits

Author SHA1 Message Date
Kazuhiro MUSASHI 9438dc34b4 Change the flag value so that it's intuitive. 2023-02-05 11:13:03 +09:00
Kazuhiro MUSASHI 955f3ab1ca Add shell scripts to generate TSL certificates. 2023-02-05 11:13:03 +09:00
Kazuhiro MUSASHI d60426b355 Delete `lego_run.sh`. 2023-02-05 11:13:03 +09:00
Kazuhiro MUSASHI d42b428427 Add `everun.club`-related files. 2023-02-05 11:13:03 +09:00
Kazuhiro MUSASHI 2063817821 Move `webadm` configuration parts to `webadm.rb`. 2023-02-05 11:13:03 +09:00
Kazuhiro MUSASHI 89e2103696 Change `nginx` build option. 2023-01-28 10:37:37 +09:00
Kazuhiro MUSASHI 114e10758a Update `/etc/lego/lego_run.sh`. 2023-01-28 10:37:37 +09:00
Kazuhiro MUSASHI 947cf0eb9d Bump `nginx` version. 2023-01-28 10:37:37 +09:00
Kazuhiro MUSASHI a00dd97b81 Properly handle HTTP 301 redirection. 2023-01-28 10:37:37 +09:00
Kazuhiro MUSASHI a0fef35f2f Toggle `nginx` setup behavior. 2021-09-23 19:17:57 +09:00
Kazuhiro MUSASHI 5af9b0b416 Bump `nginx` version. 2021-09-23 19:12:45 +09:00
Kazuhiro MUSASHI 2bc0b23eef Bump `nginx` version. 2021-05-04 11:49:03 +09:00
Kazuhiro MUSASHI bd359d8ec6 Modify the nginx deployment. 2021-05-04 11:36:52 +09:00
Kazuhiro MUSASHI 1701922c91 Execute deploy scripts for `nginx`. 2021-05-02 19:08:30 +09:00
Kazuhiro MUSASHI f55682e5c3 Modify `nginx` deploy settings. 2021-05-02 19:08:30 +09:00
Kazuhiro MUSASHI f7054c6663 Do not deploy `nginx` conf, if deployed. 2020-11-12 15:57:47 +09:00
Kazuhiro MUSASHI c1825155f6 Modify `promtail` config for `nginx`. 2020-10-31 17:01:54 +09:00
Kazuhiro MUSASHI 601d814d5d Modify `Nginx` cookbook. 2020-10-13 21:18:37 +09:00
Kazuhiro MUSASHI f621f97e75 `promtail` config for `nginx`. 2020-09-11 02:02:07 +09:00
Kazuhiro MUSASHI 110f8ae8bc `systemd` config for `prmtail` nginx. 2020-09-11 02:01:47 +09:00
Kazuhiro MUSASHI c599fccc2b Deploy `promtail` config & `systemd` config. 2020-09-11 01:59:50 +09:00
Kazuhiro MUSASHI 7e3f6eba3d Add `gzip` settings. 2020-09-07 00:52:39 +09:00
Kazuhiro MUSASHI 2de591be19 Update `cron` settings. 2020-09-06 13:28:02 +09:00
Kazuhiro MUSASHI 860ea17d05 Force link to `/opt/lego/lego`. 2020-09-06 13:27:35 +09:00
Kazuhiro MUSASHI bd0043cebf Deploy the basic auth file. 2019-11-13 11:31:27 +08:00
Kazuhiro MUSASHI 40e7c26656 Install `nginx-build` when finding a newer version. 2019-11-08 00:29:31 +08:00
Kazuhiro MUSASHI 46929fe87a Delete net.ipv4.tcp_tw_recycle=1. 2019-11-05 23:17:54 +08:00
Kazuhiro MUSASHI 482c71ece1 Get SSL certificate first. 2019-11-05 23:17:01 +08:00
Kazuhiro MUSASHI 7d6ae95020 Generate `ticket.key` by `nginx` cookbook. 2019-11-06 00:12:47 +09:00
Kazuhiro MUSASHI 28053a2c37 Deploy `dhparams_4096.pem` & `ticket.key`. 2019-11-06 00:12:47 +09:00
Kazuhiro MUSASHI 494f16b4f8 Use `nginx` repository configs 2019-11-06 00:12:46 +09:00
Kazuhiro MUSASHI eddc0a517f Create sym-link to `/etc/nginx` config directories. 2019-11-06 00:12:46 +09:00
Kazuhiro MUSASHI 7349dc9b30 Clone the nginx config from the git repository. 2019-11-06 00:12:46 +09:00
Kazuhiro MUSASHI b01aee85b5 Load `lego.rb` instead of `letsencrypt.rb`.
diff --git a/cookbooks/nginx/default.rb b/cookbooks/nginx/default.rb
index f7a30a7..8529d93 100644
--- a/cookbooks/nginx/default.rb
+++ b/cookbooks/nginx/default.rb
@@ -14,4 +14,4 @@ include_recipe './build.rb'
 include_recipe './setup.rb'

 # Install Let's Encrypt:
-include_recipe './letsencrypt.rb'
\ No newline at end of file
+include_recipe './lego.rb'
2019-10-27 23:50:00 +08:00
Kazuhiro MUSASHI f9c59e53ba Download and install `lego`. 2019-10-27 23:49:47 +08:00
Kazuhiro MUSASHI b788c6b73b Rename `letsencrypt.rb` to `lego.rb`. 2019-10-27 23:49:10 +08:00
Kazuhiro MUSASHI be73c1f6a5 Create the config directory for stream config. 2019-10-27 15:07:46 +08:00
Kazuhiro MUSASHI a434ddaee2 Load the `Nginx` config from `stream-enable/` directory. 2019-10-27 15:07:23 +08:00
Kazuhiro MUSASHI 57647177bf Enable `stream` module. 2019-10-27 15:07:12 +08:00
Kazuhiro MUSASHI b9472d630d Add `SSH` credentials. 2019-10-27 14:42:16 +08:00
Kazuhiro MUSASHI d1e1dd50f4 Specify `OpenSSL` version (newer than 1.1.1) to enable TSL1.3. 2019-10-27 15:38:40 +09:00
Kazuhiro MUSASHI 27b1481454 `nginx` version bumps to `1.17.5`: 2019-10-27 15:38:40 +09:00
Kazuhiro MUSASHI cde8cfcea3 Upgrade the `nginx` version to be installed to `1.17.2`.
Upgrade `nginx` version from `1.15.2` to `1.17.2`.
2019-08-10 16:53:45 +08:00
Kazuhiro MUSASHI 39fbe6669b initial commit 2019-03-03 16:50:49 +08:00