Created
February 7, 2023 16:25
-
-
Save arsalanses/91c2112cc7722e9901f173430f6c63ed to your computer and use it in GitHub Desktop.
x-ui
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #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