Add reponse for ansible
Signed-off-by: Arnaud M <arnaud.choupinette@mailops.fr>
This commit is contained in:
BIN
ansible/training/lessons/roles/proxy/defaults/main.yml.gpg
Normal file
BIN
ansible/training/lessons/roles/proxy/defaults/main.yml.gpg
Normal file
Binary file not shown.
BIN
ansible/training/lessons/roles/proxy/handlers/main.yml.gpg
Normal file
BIN
ansible/training/lessons/roles/proxy/handlers/main.yml.gpg
Normal file
Binary file not shown.
BIN
ansible/training/lessons/roles/proxy/tasks/main.yml.gpg
Normal file
BIN
ansible/training/lessons/roles/proxy/tasks/main.yml.gpg
Normal file
Binary file not shown.
11
ansible/training/lessons/roles/proxy/templates/proxy.j2
Normal file
11
ansible/training/lessons/roles/proxy/templates/proxy.j2
Normal file
@@ -0,0 +1,11 @@
|
||||
server {
|
||||
listen {{src_port}};
|
||||
listen [::]:{{src_port}};
|
||||
|
||||
access_log /var/log/nginx/reverse-access.log;
|
||||
error_log /var/log/nginx/reverse-error.log;
|
||||
|
||||
location / {
|
||||
proxy_pass http://127.0.0.2:{{dst_port}};
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user