rougail-tutorials/Rougail/socle/03-proxy.yml
Emmanuel Garette 76232d8b6b [tutorial Rougail 1.5] variable is not mandatory
Proxy configuration
===================

The variable env_proxy.no_proxy is not mandatory

Examples of Ops inventory file
==============================

Modify the file: Ops/group_vars/all.yml

1/ VALID:

---
env_proxy:
  host: proxy.example.net
  no_proxy:
    - localhost
    - 192.168.1.1
    - .ac-dijon.fr

2/ VALID:

---
env_proxy:
  host: proxy.example.net
2023-12-18 11:34:32 +01:00

40 lines
1.2 KiB
YAML
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

---
version: '1.0'
env_proxy:
description: HTTP(s) proxy server overview and configuration
help: |
A proxy server acts as an intermediary gateway between a client and another
HTTP(s) server, such as the Internet.
It makes service requests on behalf of a local client and allows the client
to make network connections to network services outside its own network.
host:
description: The proxy servers address
help: |
Specifies the hostname of proxy server to enable proxy server access to
all of your HTTP(s) requests.
type: domainname
test:
- proxy.silique.fr
port:
description: The proxy server's port
type: port
default: "3128"
no_proxy:
description: Exclude proxy server
help: |
Network address(es), network address range(s) and domains to exclude from
using the proxy when initiating connection(s).
type: "domainname"
params:
allow_ip: true
allow_cidr_network: true
allow_without_dot: true
allow_startswith_dot: true
multi: true
test:
- 192.168.1.1
- 192.168.10.0/24
- www.silique.fr
- .internal.silique.fr
mandatory: false