From 1a035c1aacaee1554be18660f1a53fe8f30f558b Mon Sep 17 00:00:00 2001 From: Athos Ribeiro Date: Thu, 17 Dec 2015 11:17:22 -0200 Subject: [PATCH] Add apache config file draft --- util/copr-status-httpd.conf | 38 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 38 insertions(+), 0 deletions(-) create mode 100644 util/copr-status-httpd.conf 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