-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathhttpd.conf
41 lines (33 loc) · 1.03 KB
/
httpd.conf
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
<VirtualHost *:80>
ServerAdmin [email protected]
DocumentRoot /var/www/corona
ServerName corona.bel3raby.net
ServerAlias www.corona.bel3raby.net
Alias /ar /var/www/corona/ar
<Directory /var/www/corona/ar>
Options Indexes FollowSymLinks
AllowOverride All
Require all granted
</Directory>
<LocationMatch "/">
allow from all
Satisfy any
ProxyPass http://localhost:5050/
ProxyPassReverse http://localhost:5050/
</LocationMatch>
<LocationMatch "/api/">
allow from all
Satisfy any
ProxyPass http://localhost:5000/api/
ProxyPassReverse http://localhost:5000/api/
</LocationMatch>
<LocationMatch "/ar/">
allow from all
Satisfy any
ProxyPass !
AllowOverride All
</LocationMatch>
ErrorLog ${APACHE_LOG_DIR}/error.log
CustomLog ${APACHE_LOG_DIR}/access.log combined
</VirtualHost>
Include /etc/phpmyadmin/apache.conf