# PROXY ## Content * Reverse proxy * HTTPS file share * Docker-registry ## Installation ```yml target_host: Enter FQDN or IP Address of target host rproxy_install: Install rproxy, https repo and docker-registry 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. ## Docker-registry Would be installed with rproxy service. Hosted on port 5000. Images would be stored in /opt/dockerrepo/repo/. Uses SSL so you should have trust with root certificate. \ Install trust with root certificate How to store image: ```bash # After image build docker tag $image $registry_address:5000/$image docker push $registry_address:5000/$image ```