File tree Expand file tree Collapse file tree 4 files changed +11
-3
lines changed
Expand file tree Collapse file tree 4 files changed +11
-3
lines changed Original file line number Diff line number Diff line change 3333 foreman_db_password : " CHANGEME"
3434 foreman_oauth_consumer_key : abcdefghijklmnopqrstuvwxyz123456
3535 foreman_oauth_consumer_secret : abcdefghijklmnopqrstuvwxyz123456
36+ foreman_listen_stream : /run/foreman.sock
3637 foreman_url : " https://{{ ansible_fqdn }}"
38+ httpd_foreman_backend : " unix://{{ foreman_listen_stream }}|http://%{HTTP_HOST/"
3739 httpd_server_ca_certificate : " {{ ca_certificate }}"
3840 httpd_client_ca_certificate : " {{ ca_certificate }}"
3941 httpd_server_certificate : " {{ server_certificate }}"
Original file line number Diff line number Diff line change @@ -3,6 +3,12 @@ Description=Foreman socket
33
44[Socket]
55ListenStream={{ foreman_listen_stream }}
6+ SocketUser=apache
7+ SocketMode=0600
8+
9+ NoDelay=false
10+ ReusePort=true
11+ Backlog=1024
612
713[Install]
814WantedBy=sockets.target
Original file line number Diff line number Diff line change 11httpd_ssl_dir : /etc/pki/httpd
22httpd_pulp_api_backend : http://localhost:24817
33httpd_pulp_content_backend : http://localhost:24816
4- httpd_foreman_backend : http://localhost:3000
4+ httpd_foreman_backend : http://localhost:3000/
Original file line number Diff line number Diff line change 7070 ProxyPass /pulp !
7171 ProxyPass /icons !
7272 ProxyPass /server-status !
73- ProxyPass / {{ httpd_foreman_backend }}/ retry=0 timeout=900
74- ProxyPassReverse / {{ httpd_foreman_backend }}/
73+ ProxyPass / {{ httpd_foreman_backend }} retry=0 timeout=900
74+ ProxyPassReverse / {{ httpd_foreman_backend }}
7575
7676 AddDefaultCharset UTF-8
7777</VirtualHost >
You can’t perform that action at this time.
0 commit comments