From e828b61c8032045aded36a91fffa95006a3a9190 Mon Sep 17 00:00:00 2001 From: shockrah Date: Mon, 24 Jan 2022 12:05:44 -0800 Subject: [PATCH] *! Finalized nginx config deployment for gitea --- docker-host/setup/files/git.leftcoast.local | 4 +++- docker-host/setup/tasks/nginx.yml | 2 +- 2 files changed, 4 insertions(+), 2 deletions(-) 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