#加载转发模块
LoadModule proxy_module modules/mod_proxy.so
LoadModule proxy_http_module modules/mod_proxy_http.so
#配置ngrok的反向代理
<VirtualHost *:80>
ServerName main.tunnel.tyrad.cc
ServerAlias *.tunnel.tyrad.cc
RewriteEngine On
RewriteRule ^/(.*) http://%{HTTP_HOST}:8080/$1 [P]
<Proxy *>
Order deny,allow
Allow from all
</Proxy>
ProxyPass / http://localhost:8080/
ProxyPassReverse / http://localhost:8080/
</VirtualHost>
Tunnel Status online
Version 1.7/1.7
Forwarding http://admin.tunnel.tyrad.cc:8080 -> 127.0.0.1:8000
Web Interface disabled
# Conn 11
Avg Conn Time 1.57ms