aboutsummaryrefslogtreecommitdiffstats
path: root/docs/install/manual-install.md
diff options
context:
space:
mode:
authorMatthew Somerville <matthew@mysociety.org>2020-05-15 11:04:26 +0100
committerMatthew Somerville <matthew@mysociety.org>2020-05-15 11:04:26 +0100
commit62c93922b3dfcd3489cb32cf55ab03f0e2a8b2ab (patch)
treeb97493fa8627a9861126a087e59e7605cab3c509 /docs/install/manual-install.md
parent2b0e62e7f77c18454d5a2cfaf876b9d61f1a89f9 (diff)
parentbf179ad7dc57b371d45742c3df675bd1bc285a8d (diff)
Merge branch 'various-manual-updates'
Diffstat (limited to 'docs/install/manual-install.md')
-rw-r--r--docs/install/manual-install.md7
1 files changed, 7 insertions, 0 deletions
diff --git a/docs/install/manual-install.md b/docs/install/manual-install.md
index 5ddf8a30f..408b419cb 100644
--- a/docs/install/manual-install.md
+++ b/docs/install/manual-install.md
@@ -177,6 +177,13 @@ $ script/server
The server will be accessible as <http://localhost:3000/>, and will
automatically restart if you update the code or `general.yml`.
+If you need to run the server under HTTPS, to e.g. develop the service worker
+or geolocation, then you can run `script/server --listen :3000:ssl
+--ssl-cert=my.crt --ssl-key=my.key --Reload perllib,conf` where my.crt and
+my.key point to a key and self-signed certificate you have generated using
+something like `openssl req -x509 -newkey rsa:4096 -sha256 -nodes -keyout
+my.key -out my.crt -subj "/CN=My local CA" -days 3650`.
+
### Post-install: Things you might want to change
#### Next Steps