Add redirection port to config
This commit is contained in:
parent
480fb69be0
commit
11135e3e1c
1 changed files with 7 additions and 1 deletions
|
|
@ -10,6 +10,12 @@
|
||||||
listen_port = 80
|
listen_port = 80
|
||||||
listen_port_tls = 443
|
listen_port_tls = 443
|
||||||
|
|
||||||
|
# Optional: If your https is listening on a custom port like 8443
|
||||||
|
# When you specify this, the server sends a redirection response 301 with specified port to the client for plaintext http request.
|
||||||
|
# Otherwise, the server sends 301 with the same port as `listen_port_tls`.
|
||||||
|
# disabled means http -> https and enabled means http -> https:<port>
|
||||||
|
# https_redirection_port = 443
|
||||||
|
|
||||||
# Optional for h2 and http1.1
|
# Optional for h2 and http1.1
|
||||||
tcp_listen_backlog = 1024
|
tcp_listen_backlog = 1024
|
||||||
|
|
||||||
|
|
@ -85,4 +91,4 @@ max_cache_each_size_on_memory = 4096 # optional. default is 4k if 0, it is alway
|
||||||
[experimental.acme]
|
[experimental.acme]
|
||||||
dir_url = "https://acme-v02.api.letsencrypt.org/directory"
|
dir_url = "https://acme-v02.api.letsencrypt.org/directory"
|
||||||
email = "test@example.com"
|
email = "test@example.com"
|
||||||
registry_path = "/etc/rpxy/acme_registry"
|
registry_path = "/etc/rpxy/acme_registry"
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue