-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmySite.conf
37 lines (30 loc) · 845 Bytes
/
mySite.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
#/etc/apache2/sites-available/mySite.conf
<VirtualHost *:80>
ServerAdmin webmaster@localhost
ServerName mySite9200.com
ServerAlias www.mySite9200.com
DocumentRoot /var/www/fileuploader
<Directory />
Options -Indexes +FollowSymLinks
AllowOverride None
Require all granted
</Directory>
ProxyRequests Off
ProxyPreserveHost On
ProxyVia Full
<Proxy *>
Order deny,allow
Allow from all
Require all granted
</Proxy>
<Location />
# the "/" after the 8080 is a must
ProxyPass http://localhost:8080/
ProxyPassReverse http://localhost:8080/
</Location>
ErrorLog ${APACHE_LOG_DIR}/error.log
# Possible values include: debug, info, notice, warn, error, crit,
# alert, emerg.
LogLevel warn
CustomLog ${APACHE_LOG_DIR}/access.log combined
</VirtualHost>