rougail-tutorials/Rougail/socle/03-proxy.yml
Emmanuel Garette af85413f66 [tutorial Rougail 1.1] advanced hostname variable
Proxy configuration
===================

Modify the "host" variable

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

1/ VALID:

---
env_proxy:
  host: proxy.example.net

2/ INVALID, host is null:

---
env_proxy:
  host:

3/ INVALID, host is an integer:

---
env_proxy:
  host: 1

4/ INVALID but only for rougail:

---
env_proxy:
  host: the proxy
2023-12-18 11:34:30 +01:00

18 lines
619 B
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