git.lirion.de

Of git, get, and gud

aboutsummaryrefslogtreecommitdiffstats
path: root/localfs/etc/httpd/conf.d/vhosts.d/jango104.conf
blob: b3cade822abf2dcd71d2d1f7d29a3dfaaf58df1f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
AddDefaultCharset UTF-8
<VirtualHost *:80>
	ServerAdmin	mail_redacted_for_web
	DocumentRoot	"/var/www/vhosts/jango104.domain.de"
	ServerName	jango104.domain.de
	ServerAlias	jango104.domain.world jango104.domain.de jango104
	ErrorLog	"/var/log/httpd/jango104.domain.de-error.log"
	CustomLog	"/var/log/httpd/jango104.domain.de-access.log" common
	RewriteEngine on
	RewriteCond %{HTTPS} !=on
	RewriteRule .* https://%{SERVER_NAME}%{REQUEST_URI} [NE,R,L]
</VirtualHost>
<VirtualHost *:443>
	ServerAdmin	mail_redacted_for_web
	DocumentRoot	"/var/www/vhosts/jango104.domain.de"
	ServerName	jango104.domain.de
	ServerAlias	jango104.domain.world jango104.domain.de jango104
	Alias		"/errors" "/var/www/errors"
	ErrorLog	"/var/log/httpd/jango104.domain.de-ssl-error.log"
	CustomLog	"/var/log/httpd/jango104.domain.de-ssl-access.log" common
	ErrorDocument	401 "/errors/401.html"
	ErrorDocument	403 "/errors/403.html"
	ErrorDocument	404 "/errors/404.html"
	<Directory />
		Options FollowSymLinks
		AllowOverride none
	</Directory>
	<Directory "/var/www/errors">
		Options -Indexes
		AllowOverride None
		<RequireAll>
			Require all granted
		</RequireAll>
	</Directory>
	<Directory "/var/www/vhosts/jango104.domain.de">
		Options Indexes FollowSymLinks MultiViews
		IndexOptions +ShowForbidden +NameWidth=*
		AllowOverride None
		<RequireAll>
			Require all granted
		</RequireAll>
	</Directory>
	<Directory "/var/www/vhosts/jango104.domain.de/dump_hpe/">
		Options Indexes FollowSymlinks Multiviews
		IndexOptions +ShowForbidden +Namewidth=*
		AllowOverride all
		<RequireAll>
			Require all granted
		</RequireAll>
	</Directory>
	<Directory "/var/www/vhosts/jango104.domain.de/dump/">
		Options Indexes FollowSymlinks Multiviews
		IndexOptions +ShowForbidden +Namewidth=*
		AllowOverride all
		<RequireAll>
			Require all granted
		</RequireAll>
	</Directory>
	<Directory "/var/www/vhosts/jango104.domain.de/isos/">
		Options Indexes FollowSymlinks Multiviews
		IndexOptions +ShowForbidden +Namewidth=*
		AllowOverride all
		<RequireAll>
			Require all granted
		</RequireAll>
	</Directory>
	<Directory "/var/www/vhosts/jango104.domain.de/redhat/">
		Options Indexes FollowSymlinks Multiviews
		IndexOptions +ShowForbidden +Namewidth=*
		AllowOverride all
		<RequireAll>
			Require all granted
		</RequireAll>
	</Directory>
	<Directory "/var/www/vhosts/jango104.domain.de/test/">
		Options Indexes FollowSymlinks Multiviews
		IndexOptions +ShowForbidden +Namewidth=*
		AllowOverride all
		<RequireAll>
			Require all granted
		</RequireAll>
	</Directory>
	<Directory "/var/www/vhosts/jango104.domain.de/propaganda/">
		Options Indexes FollowSymlinks Multiviews
		IndexOptions +ShowForbidden +Namewidth=*
		AllowOverride all
		<RequireAll>
			Require all granted
		</RequireAll>
	</Directory>
	<Directory "/var/www/vhosts/jango104.domain.de/redhat/CD">
		Options Indexes FollowSymlinks MultiViews
		IndexOptions +NameWidth=*
		AllowOverride None
		AuthType		Basic
		AuthName		"gibe login"
		AuthBasicProvider	file
		AuthUserFile		"/etc/httpd/htaccess.d/redhat"
		<RequireAll>
			Require user company
			Require valid-user
		</RequireAll>
	</Directory>
	<Directory "/var/www/vhosts/jango104.domain.de/redhat/cert">
		Options Indexes FollowSymlinks MultiViews
		IndexOptions +NameWidth=*
		AllowOverride None
		AuthType		Basic
		AuthName		"gibe login"
		AuthBasicProvider	file
		AuthUserFile		"/etc/httpd/htaccess.d/redhat"
		<RequireAll>
			Require user company
			Require valid-user
		</RequireAll>
	</Directory>
	SSLEngine on
	SSLProtocol all -SSLv3
	SSLProxyProtocol all -SSLv3
	SSLHonorCipherOrder on
	SSLCipherSuite PROFILE=SYSTEM
	SSLProxyCipherSuite PROFILE=SYSTEM

	# Feck snakeoil. Root CA and Intermed CA from root server, cert is a) chained and b) set up with higher ciphers.
	#       (Although, admittedly, there's way worse snakeoils than on Fedora 27, but still it's snakeoil.)
	SSLCertificateFile		/etc/pki/tls/certs/jango104.crt
	SSLCertificateKeyFile		/etc/pki/tls/private/jango104.key
	#SSLCertificateChainFile	/etc/pki/tls/certs/jango104.crt
	#SSLCertificateChainFile	/etc/pki/tls/certs/server-chain.crt
	#SSLCACertificateFile		/etc/pki/tls/certs/ca-bundle.crt
	<FilesMatch "\.(cgi|shtml|phtml|php)$">
		SSLOptions +StdEnvVars
	</FilesMatch>
	<Directory "/var/www/cgi-bin">
		SSLOptions +StdEnvVars
	</Directory>
	BrowserMatch "MSIE [2-5]" \
		nokeepalive ssl-unclean-shutdown \
		downgrade-1.0 force-response-1.0
</VirtualHost>