39 lines
1.0 KiB
Markdown
39 lines
1.0 KiB
Markdown
# PROXY
|
|
|
|
## Content
|
|
* Reverse proxy
|
|
* HTTPS file share
|
|
|
|
## Installation
|
|
```yml
|
|
target_host: Enter FQDN or IP Address of target host
|
|
rproxy_install: Install rproxy and https repo if checked
|
|
config_add: Will config be created
|
|
|
|
rproxy_service_name: Server/service name without domain suffix
|
|
rproxy_service_port: Port to redirect the request to
|
|
rproxy_service_address: Address to redirect the request to
|
|
|
|
Example:
|
|
domain: olsson.ul
|
|
jenkins_host: http://10.10.10.1:8080/
|
|
|
|
rproxy_service_name: jenkins
|
|
rproxy_service_port: 8080
|
|
rproxy_service_address: 10.10.10.1
|
|
|
|
# After adding alias jenkins.olsson.ul => rproxy.olsson.ul
|
|
result_address: https://jenkins.olsson.ul/
|
|
```
|
|
|
|
## Reverse Proxy
|
|
Allows redirecting requests based on fqdn to the required address and ports with ssl certificate substitution
|
|
|
|
## HTTPS repository
|
|
Would be installed with rproxy service. Hosted on port 9000. \
|
|
Files should be stored in /opt/rproxy/repo/ to be shared.
|
|
|
|
Put file in repo
|
|
```bash
|
|
curl -T kafka_4.1.tar https://rproxy.olsson.ul:9000/podman/kafka/4.1/kafka_4.1.tar -k
|
|
``` |