Add reponse for ansible
Signed-off-by: Arnaud M <arnaud.choupinette@mailops.fr>
This commit is contained in:
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