*! Finalized nginx config deployment for gitea

This commit is contained in:
shockrah 2022-01-24 12:05:44 -08:00
parent 2885a0f63d
commit e828b61c80
2 changed files with 4 additions and 2 deletions

View File

@ -3,6 +3,8 @@
# The default port is listed under /vars/main.yml as 3000 as GITEA_PUB_PORT # The default port is listed under /vars/main.yml as 3000 as GITEA_PUB_PORT
server { server {
proxy_pass localhost:3000;
server_name git.leftcoast.local; server_name git.leftcoast.local;
location / {
proxy_pass http://localhost:3000;
}
} }

View File

@ -37,7 +37,7 @@
- name: Copy Reverse proxy configs - name: Copy Reverse proxy configs
copy: copy:
src: "{{ item.src }}" src: "{{ item }}"
dest: /etc/nginx/sites-available/ dest: /etc/nginx/sites-available/
loop: loop:
- ../files/git.leftcoast.local - ../files/git.leftcoast.local