mirror of
https://git.digitalstudium.com/digitalstudium/gitea
synced 2023-12-29 08:06:35 +00:00
Fix setup nginx script
This commit is contained in:
parent
61a7a4696a
commit
f32346b331
@ -4,7 +4,7 @@
|
||||
sudo apt update
|
||||
sudo apt install -y nginx-light certbot python3-certbot-nginx docker.io
|
||||
|
||||
# Add current user to `docker` group and switch to this group
|
||||
# Add current user to docker group and switch to this group
|
||||
sudo usermod -a -G docker $USER
|
||||
newgrp docker
|
||||
|
||||
|
@ -3,8 +3,8 @@
|
||||
source .env
|
||||
|
||||
# Copy config to nginx, substitute and reload it
|
||||
sudo cp git.conf /etc/nginx/conf.d
|
||||
sudo sed -i s/GITEA_HOSTNAME/$GITEA_HOSTNAME/g
|
||||
sudo cp git.conf /etc/nginx/conf.d/
|
||||
sudo sed -i s/GITEA_HOSTNAME/$GITEA_HOSTNAME/g /etc/nginx/conf.d/git.conf
|
||||
sudo service nginx reload
|
||||
|
||||
# Get ssl certificate
|
||||
|
Loading…
x
Reference in New Issue
Block a user