Skip to content

Instantly share code, notes, and snippets.

@arsalanses
Created February 7, 2023 16:25
Show Gist options
  • Select an option

  • Save arsalanses/91c2112cc7722e9901f173430f6c63ed to your computer and use it in GitHub Desktop.

Select an option

Save arsalanses/91c2112cc7722e9901f173430f6c63ed to your computer and use it in GitHub Desktop.
x-ui
#cloud-config
packages:
- certbot
package_update: true
package_upgrade: true
runcmd:
- mkdir xui && cd xui && wget https://raw.githubusercontent.com/vaxilu/x-ui/master/install.sh
- certbot certonly --standalone -d change-this-domain.com --register-unsafely-without-email --non-interactive --agree-tos
- cp -r /etc/letsencrypt/live/ ~/certs/
- echo "(!)Reboot server"
- reboot
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment