*! Finalized nginx config deployment for gitea
This commit is contained in:
parent
2885a0f63d
commit
e828b61c80
@ -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;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user