diff --git a/docker-host/setup/files/git.leftcoast.local b/docker-host/setup/files/git.leftcoast.local index bbdf8e0..7639de0 100644 --- a/docker-host/setup/files/git.leftcoast.local +++ b/docker-host/setup/files/git.leftcoast.local @@ -3,6 +3,8 @@ # The default port is listed under /vars/main.yml as 3000 as GITEA_PUB_PORT server { - proxy_pass localhost:3000; server_name git.leftcoast.local; + location / { + proxy_pass http://localhost:3000; + } } diff --git a/docker-host/setup/tasks/nginx.yml b/docker-host/setup/tasks/nginx.yml index f84d725..4d52510 100644 --- a/docker-host/setup/tasks/nginx.yml +++ b/docker-host/setup/tasks/nginx.yml @@ -37,7 +37,7 @@ - name: Copy Reverse proxy configs copy: - src: "{{ item.src }}" + src: "{{ item }}" dest: /etc/nginx/sites-available/ loop: - ../files/git.leftcoast.local