-
Notifications
You must be signed in to change notification settings - Fork 170
Use plik as proxy of a apache server
Eduardo Diaz edited this page Sep 1, 2022
·
2 revisions
If you want to use you plik as a proxy of your apache server you need some config on you apache.
Take on consideration you have a plik server running on local host:
I your default .conf of you apache edit the file and add this to the end of the file.
<ifmodule mod_proxy.c> #turning ProxyRequests on and allowing proxying from all may allow #spammers to use your proxy to send email. ProxyRequests Off ProxyPreserveHost On ProxyVia On Include /etc/apache2/mods-available/proxy.load Include /etc/apache2/mods-available/proxy_http.load Include /etc/apache2/mods-available/headers.load <proxy *> AddDefaultCharset off Require all granted </proxy> redirect permanent "/plik" https://www.myserver.com/plik/ proxypass "/plik" http://localhost:8080 proxypassreverse "/plik" http://localhost:8080 </ifmodule>
restart you apache server and thet the conexion using you www.myserver.com/plik