Thanks. When I browse my IP with the HTTPS protocol, then problem solved. On Monday, April 19, 2021, 11:30:34 PM GMT+4:30, Nick Folino <nick@xxxxxxxxx> wrote: You'll never learn anything if you keep asking people to solve your problems for you. Read the docs I posted for you and look for working examples on-line. On Mon, Apr 19, 2021 at 2:14 PM Jason Long <hack3rcon@xxxxxxxxx.invalid> wrote: > Thank you Michael. > I changed my Virtual Host config file as below: > > <VirtualHost *:80> > ServerName 192.168.56.9 > ErrorLog ${APACHE_LOG_DIR}/error_log > CustomLog ${APACHE_LOG_DIR}/access_log combined > > RewriteEngine on > RewriteCond %{SERVER_NAME} =192.168.56.9 [OR] > RewriteCond %{SERVER_NAME} =192.168.56.9 > RewriteRule ^ https://%{SERVER_NAME}%{REQUEST_URI} [END,NE,R=permanent] > </VirtualHost> > > <IfModule mod_ssl.c> > <VirtualHost *:443> > ServerName 192.168.56.9 > ErrorLog ${APACHE_LOG_DIR}/error_log > CustomLog ${APACHE_LOG_DIR}/access_log combined > > > ProxyPreserveHost On > ProxyPass / http://192.168.56.9/ > ProxyPassReverse / http://192.168.56.9/ > Redirect / https://192.168.56.9/ > SSLEngine on > SSLCertificateFile /etc/pki/tls/certs/selfsigned.crt > SSLCertificateKeyFile /etc/pki/tls/private/selfsigned.key > </VirtualHost> > > > When I browse my Reverse Proxy Server, then it couldn't forward me to my real server (192.168.56.9). Which part of my configuration is wrong? > > > > On Monday, April 19, 2021, 09:36:59 PM GMT+4:30, o1bigtenor <o1bigtenor@xxxxxxxxx> wrote: > > > > > > On Mon, Apr 19, 2021 at 10:20 AM Michael Wechner > <michael.wechner@xxxxxxxxx> wrote: >> >> Hi Jason >> >> The reverse proxy entries should look something like >> >> > (I'm not the OP - - - but - - - - ) > > Thank you - - - - I find most docs and almost all man pages are written > by experts for experts who just might need a reminder and everything > would be good - - - - your answer on the other hand answers the > question for someone who knows maybe not so much and gives > an example (something that is quite rare in docs and an almost never > in man pages). > > Thanking you for your assistance!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx > For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx > For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx > > --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx