Added default root and fixed ordering.

This commit is contained in:
Otho Ulrich 2022-07-09 00:42:38 -04:00
parent e8e3f7214f
commit 5a9347fab1
Signed by: Otho
GPG Key ID: 16C720CD3BBE21D9

View File

@ -14,6 +14,7 @@ services:
gitea:
image: gitea/gitea:latest
container_name: gitea
restart: always
environment:
- USER_UID=1000
- USER_GID=1000
@ -27,7 +28,6 @@ services:
- VIRTUAL_HOST=code.othoulrich.com
- VIRTUAL_PORT=3000
- LETSENCRYPT_HOST=code.othoulrich.com
restart: always
networks:
- gitea
- proxy
@ -71,6 +71,8 @@ services:
image: nginxproxy/nginx-proxy
container_name: nginx-proxy
restart: always
environment:
- DEFAULT_ROOT="301 http://www.othoulrich.com"
ports:
- 80:80
- 443:443