moq-rs/client/nginx/run.sh

10 lines
336 B
Bash
Raw Normal View History

2022-07-07 04:28:16 +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