Skip to content
Snippets Groups Projects
Commit 0393e875 authored by Erik Johnston's avatar Erik Johnston
Browse files

Make the demo listen on both HTTP and HTTPS ports

parent 45570e46
No related branches found
No related tags found
No related merge requests found
......@@ -11,12 +11,14 @@ mkdir -p demo/etc
for port in 8080 8081 8082; do
echo "Starting server on port $port... "
https_port=$((port + 400))
python -m synapse.app.homeserver \
--generate-config \
--config-path "demo/etc/$port.config" \
-H "localhost:$port" \
-p "$port" \
-H "localhost:$port" \
-p "$https_port" \
--unsecure-port "$port" \
-H "localhost:$https_port" \
-f "$DIR/$port.log" \
-d "$DIR/$port.db" \
-D --pid-file "$DIR/$port.pid" \
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment