mirror of
https://github.com/dragonlock2/matthewtran.com.git
synced 2026-06-28 01:58:34 +00:00
add basic gitea with nginx reverse proxy
This commit is contained in:
+1
-4
@@ -6,14 +6,11 @@ RUN apt-get install -y nginx certbot python3-certbot-nginx
|
||||
|
||||
RUN rm /etc/nginx/sites-enabled/default
|
||||
|
||||
# enable matthewtran.com
|
||||
# enable site
|
||||
COPY matthewtran.com /etc/nginx/sites-available
|
||||
RUN ln -s /etc/nginx/sites-available/matthewtran.com /etc/nginx/sites-enabled/matthewtran.com
|
||||
COPY html /var/www/matthewtran.com/html
|
||||
|
||||
# TODO gitea
|
||||
# disable registration!
|
||||
|
||||
# start script
|
||||
WORKDIR /root
|
||||
COPY entry.sh ./
|
||||
|
||||
Reference in New Issue
Block a user