diff --git a/util/copr-status-httpd.conf b/util/copr-status-httpd.conf new file mode 100644 index 0000000..26e2c8e --- /dev/null +++ b/util/copr-status-httpd.conf @@ -0,0 +1,38 @@ + + ServerAdmin webmaster@localhost + DocumentRoot /var/www/ + ErrorLog ${APACHE_LOG_DIR}/error.log + CustomLog ${APACHE_LOG_DIR}/access.log combined + + + AllowOverride None + Order allow,deny + Allow from all + Require all granted + + + + AllowOverride None + Order allow,deny + Allow from all + Require all granted + + + Alias /css "/var/www/spb-copr-status/css" + Alias /js "/var/www/spb-copr-status/js" + + + Order deny,allow + Allow from all + + ProxyRequests Off + ProxyPreserveHost On + ProxyPass /css ! + ProxyPass /js ! + ProxyPass /copr http://localhost:5000 keepalive=On + ProxyPassReverse /copr http://localhost:5000 + RequestHeader set X-Forwarded-HTTPS "0" + + + +# vim: syntax=apache ts=4 sw=4 sts=4 sr noet -- libgit2 0.21.2