fixed nginx issue
This commit is contained in:
+6
-6
@@ -57,9 +57,9 @@ ansible-playbook playbooks/guestops.yml -K \
|
||||
|
||||
The playbook stops the existing systemd services, replaces `/srv/guestops`,
|
||||
renders its environment configuration, starts the self-contained API and worker,
|
||||
configures an HTTP Nginx site when a certificate does not yet exist, and verifies
|
||||
local readiness. Port 8080 remains loopback-only and
|
||||
`/var/lib/guestops/keys` survives redeployment.
|
||||
and manages its Nginx site. It serves HTTP before the certificate exists and
|
||||
switches the site to HTTPS after Certbot has created the certificate. Port 8080
|
||||
remains loopback-only and `/var/lib/guestops/keys` survives redeployment.
|
||||
|
||||
On the first deployment, create the certificate after the HTTP site is available:
|
||||
|
||||
@@ -72,9 +72,9 @@ sudo certbot --nginx \
|
||||
--redirect
|
||||
```
|
||||
|
||||
For production, use `-d guestops.futuresens.co.uk`. Certbot updates the existing
|
||||
Nginx site and manages renewal. Later GuestOps deployments detect the certificate
|
||||
and leave that Certbot-managed site unchanged.
|
||||
For production, use `-d guestops.futuresens.co.uk`. Certbot obtains and renews the
|
||||
certificate. Rerun the GuestOps playbook after initial certificate creation so
|
||||
Ansible writes the final HTTPS proxy configuration.
|
||||
|
||||
To roll back, select an older retained native `guestopsversion` (version 0.2.2 or
|
||||
later) in group vars and run the same playbook. MongoDB backup, Filebeat, certificate
|
||||
|
||||
Reference in New Issue
Block a user