moq-rs/player/nginx/run.sh

10 lines
336 B
Bash
Raw Normal View History

2023-02-01 13:22:35 +00:00
#!/bin/bash
set -euxo pipefail
# Try to generate a certificate that expires in 90 days.
# This will listen on port 80 and serve a challenge file, proving we own the domain.
certbot --nginx --email kixelated@gmail.com -d quic.video --agree-tos
# The certbot nginx plugin will automatically append the certs to the configuration.
nginx