Setup Apache as a Reverse Proxy

Поделиться
HTML-код
  • Опубликовано: 26 авг 2024

Комментарии • 22

  • @ArpanPatel-zj4vm
    @ArpanPatel-zj4vm 4 месяца назад +1

    Great video, please continue to create new videos on different modules

  • @solracnauj19
    @solracnauj19 3 месяца назад +1

    Muchas gracias por mostar tus conocimientos.

  • @LartiZen
    @LartiZen 6 месяцев назад +1

    Super clear !!! Thank You :-) Everywhere, all talks about nginx reverse proxy to deploy modern apps, docker etc… You proof me I still can stay on Apache2 :-)

  • @israelpel
    @israelpel 6 месяцев назад +1

    very good my friend... thanks

  • @keshavsingh6118
    @keshavsingh6118 11 месяцев назад +1

    This is amazing bro,
    Thanks for such a detailed video

  • @danish2541987
    @danish2541987 9 месяцев назад +1

    Great

  • @konfushon
    @konfushon 11 месяцев назад +2

    if you're here wondering if this video is relevant to you to understand configuring apache as a reverse proxy, I am glad to tell you that YES, IT IS THE VIDEO YOU'RE LOOKING FOR!

    • @learningsoftwareskills
      @learningsoftwareskills  11 месяцев назад +1

      Wow, thanks for vouching for this video. Means a lot to me👍🙏😀

  • @mehransaeed7207
    @mehransaeed7207 3 месяца назад +1

    Hello. thanks for making video on this. just quick question. how do you configure default site as some neutral site if you dont want proxied site as default site

    • @learningsoftwareskills
      @learningsoftwareskills  3 месяца назад

      Hi, for that you need to create a simple HTML page and do static hosting for the default site. I have created a video on how to setup a static file hosting in apache at ruclips.net/video/INATnpdcuZY/видео.htmlsi=i-4I8pfgktZ9igLK
      Hope this helps, cheers 👍

    • @mehransaeed7207
      @mehransaeed7207 3 месяца назад

      ​@@learningsoftwareskills Thanks for responding back .
      I think what I meant was in the config below:

      Require all granted

      ServerName grafana.example.com
      SSLEngine on
      SSLCertificateFile /etc/httpd/grafana.crt
      SSLCertificateKeyFile /etc/httpd/grafana.key
      SSLVerifyClient none
      SSLProtocol all -SSLv2 -SSLv3 -TLSv1
      SSLProxyEngine on
      ProxyRequests Off
      ProxyPreserveHost On
      ProxyPass / 10.0.0.1:3000/
      ProxyPassReverse / 10.0.0.1:3000/
      ErrorLog /var/log/httpd/grafana_error.log
      CustomLog /var/log/httpd/grafana_access.log combined
      ErrorLog /var/log/httpd/ssl_error.log
      TransferLog /var/log//httpd/ssl_access.log
      CustomLog /var/log/httpd/ssl_request.log combined
      this above block is for grafana site proxy which is proxying the site grafana.example.com
      What about the the default site like if we resolve the ip of the proxy server or anything else other than grafana.example.com, it should go to default site which is index.html page.
      I have written the below config but I think it doesn't work still.
      basically everything else other than the proxy site should fall to default site.
      DocumentRoot /var/www/html

      Options Indexes FollowSymLinks
      AllowOverride None
      Require all granted

      ErrorLog /var/log/httpd/default_ssl_error.log
      CustomLog /var/log/httpd/default_ssl_access.log combined

  • @mantu12344
    @mantu12344 11 месяцев назад +2

    Apache Web server conf file modified video

  • @sathvickh.k5036
    @sathvickh.k5036 Год назад +1

    but your flask route is showed to '/' or did I miss something?

    • @learningsoftwareskills
      @learningsoftwareskills  Год назад +1

      Hi, pls see line 56,57 of the configuration for in the video at 05:30 , the requests to the url path /test will be routed to the application at localhost:50100/
      Hope this helps, cheers 👍

  • @bequockhanh6278
    @bequockhanh6278 9 месяцев назад +1

    why i cann't find test_reverse_proxy?Thanks

    • @learningsoftwareskills
      @learningsoftwareskills  9 месяцев назад

      Hi, you need to create that file. I created it just for this demo
      Hope this helps, cheers 👍