-
-
Save Mozartted/9c33b2ab3388ba7cbf7f7c151bc6fbb9 to your computer and use it in GitHub Desktop.
This file contains 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
sudo groupadd -g 33 www-data | |
sudo useradd \ | |
-g www-data --no-user-group \ | |
--home-dir /var/www --no-create-home \ | |
--shell /usr/sbin/nologin \ | |
--system --uid 33 www-data | |
sudo mkdir /etc/caddy | |
sudo chown -R root:www-data /etc/caddy | |
sudo mkdir /etc/ssl/caddy | |
sudo chown -R root:www-data /etc/ssl/caddy | |
sudo chmod 0770 /etc/ssl/caddy |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment