summaryrefslogtreecommitdiff
path: root/hosts/myouga/apache.conf
blob: 821ad9b2578d6f876362c5d42aacdfcb62ed30ca (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
DocumentRoot /var/www/ba-ln-ea-cx
DirectoryIndex _.html _.txt

Alias "/app/converse/-" "/var/www/converse/dist"
Alias "/app/onpoint" "/var/www/onpoint"
ProxyPass "/.well-known" "http://ba.ln.ea.cx:5280/.well-known/"
ProxyPass "/app/tty" "http://localhost:7681/" upgrade=websocket

Redirect "/app/passwd" "//aut.ba.ln.ea.cx"

RedirectMatch "/!(.*)" "/app/$1"

<Directory "/run/current-system/sw/cgit/">
	AllowOverride None
	Options ExecCGI FollowSymlinks MultiViews
	Require all granted
</Directory>
SetEnv CGIT_CONFIG /etc/cgitrc
Alias "/src/-y/" "/run/current-system/sw/cgit/"
ScriptAlias "/src" "/run/current-system/sw/cgit/cgit.cgi"
# <LocationMatch "^/~(?<user>[a-z]+)">
# </LocationMatch>
# ScriptAliasMatch "^/~(?<user>[a-z]+)/src$" "/usr/lib/cgit/cgit.cgi"
# ScriptAliasMatch "^/~(?<user>[a-z]+)/src/(.*)$" "/usr/lib/cgit/cgit.cgi/$2"

<Directory "/var/www">
	Options MultiViews FollowSymlinks Indexes
	IndexOptions NameWidth=*
	AllowOverride All
	Require all granted
</Directory>

<Directory /home/*/www>
	Options MultiViews FollowSymlinks Indexes
	IndexOptions NameWidth=*
	Require all granted
</Directory>
UserDir /var/www

# ProxyRequests On
# <Proxy *>
# 	AuthType basic
# 	AuthName "proxy"
# 	AuthBasicProvider PAM
# 	AuthPAMService proxy
# 	Require valid-user
# </Proxy>
# <ProxyMatch "^https?://ba\.ln\.ea\.cx">
# 	AuthType none
# 	Require all granted
# </ProxyMatch>