You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
19 lines
517 B
19 lines
517 B
4 years ago
|
LoadModule proxy_module /usr/lib/apache2/modules/mod_proxy.so
|
||
|
LoadModule proxy_http_module /usr/lib/apache2/modules/mod_proxy_http.so
|
||
|
|
||
|
<VirtualHost *:80>
|
||
|
#ServerAdmin webmaster@localhost
|
||
|
#ServerName www.example.com
|
||
|
#ServerAlias example.com
|
||
|
|
||
|
ErrorLog ${APACHE_LOG_DIR}/error.log
|
||
|
CustomLog ${APACHE_LOG_DIR}/access.log combined
|
||
|
|
||
|
# Reverse Proxy definition
|
||
|
ProxyPass / http://127.0.0.1:PORT/
|
||
|
ProxyPassReverse / http://127.0.0.1:PORT/
|
||
|
|
||
|
</VirtualHost>
|
||
|
|
||
|
# vim: syntax=apache ts=4 sw=4 sts=4 sr noet
|