Commit ec92c3a
scripts/migrate_to_systemd.sh: SP_SKIP_NGINX flag
For hosts where nginx + /dashboard + certbot-via-nginx are already
configured correctly AND the existing vhost has custom directives
that must NOT be overwritten (e.g. support.ardupilot.org's
^/$ -> ardupilot.org/dev/docs/support_proxy.html redirect), pass
SP_SKIP_NGINX=1 to run only the webui.json + systemd + verify
steps. Skips apache stop, nginx apt install, vhost write, landing
page write, nginx -t/reload, and the certbot renewer migration.
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>1 parent d21a293 commit ec92c3a
1 file changed
Lines changed: 16 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
19 | 19 | | |
20 | 20 | | |
21 | 21 | | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
22 | 32 | | |
23 | 33 | | |
24 | 34 | | |
| |||
62 | 72 | | |
63 | 73 | | |
64 | 74 | | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
65 | 79 | | |
66 | 80 | | |
67 | 81 | | |
| |||
186 | 200 | | |
187 | 201 | | |
188 | 202 | | |
| 203 | + | |
| 204 | + | |
189 | 205 | | |
190 | 206 | | |
191 | 207 | | |
| |||
0 commit comments