-
Notifications
You must be signed in to change notification settings - Fork 20
/
input.example.yaml
55 lines (54 loc) · 2.11 KB
/
input.example.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
# Copyright 2022 Google LLC
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# https://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
# Please replace ALL-CAP values with yours.
---
sxg_worker:
html_host: YOUR_DOMAIN # example.com
cert_url_dirname: ".well-known/sxg-certs"
forward_request_headers:
- user-agent
- cf-ipcountry
reserved_path: ".sxg"
strip_request_headers: []
strip_response_headers:
- set-cookie
validity_url_dirname: ".well-known/sxg-validity"
certificates:
!pre_issued
cert_file: credentials/cert.pem
issuer_file: credentials/issuer.pem
# # If this section is uncommented, an ACME account will be created.
# !create_acme_account
# server_url: https://dv-sxg.acme-v02.api.pki.goog/directory
# contact_email: YOUR_EMAIL
# # Read and agree the terms of service before uncommenting next line.
# # agreed_terms_of_service: https://pki.goog/GTS-SA.pdf
# sxg_cert_request_file: credentials/cert.csr
# # To find your eab key, please follow
# # https://cloud.google.com/public-certificate-authority/docs/quickstart#request-key-hmac
# eab:
# base64_mac_key: XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXQ
# key_id: XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
cloudflare:
account_id: XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
zone_id: XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
# You can define URL patterns for the SXG worker. See Cloudflare's doc at
# https://developers.cloudflare.com/workers/platform/routing/routes/
routes:
- https://YOUR_DOMAIN/*
worker_name: sxg
deploy_on_workers_dev_only: false
fastly:
service_name: sxg
sxg_private_key_base64: AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA=