Jump to content

MrGamecase

Members
  • Posts

    5
  • Joined

  • Last visited

Posts posted by MrGamecase

  1. UPDATE - 

    Quote

    Hi All,

     

    Im having trouble accessing my "cacti Docker" "through Nginx Proxy Manager"....

     

    I have.  jc21/nginx-proxy-manager:2 Docker running the manager.....

    &

    I have. quantumobject/docker-cacti Docker running cacti......  The docker already have Apache2 running in it and since its not my docker i'm not tampering with it. 

     

    The question im asking is.....How can i get the Proxy manager to add the "/cacti"  to the end of the domain name? 

    Https://custom_domain.CO.UK/cacti..... if i manually add it i can access the web ui lovely.  All help would be appreciated.

    Hi Again All, I figured it out ....

    Under the Proxy settings for the site/server you want to forward.....

     

    • Click on edit of the desired proxy host,
    • Click on the Advance tab
    • In the box insert the following line  -      location = /{return 301 $scheme://$http_host/cacti;}      OR  

                                                                        location = /{return 301 $scheme://$https_host/cacti;}    

    • "Replace the part in red with your desired sub folder"

     

    Example 

     

    if your server is "192.168.29.100:2020/cacti" if placed under the details tab as is you will end up with invalid and non loading URL, So for this to work place the following line above under the advance tab to get the following.

    Http:// or Https://mydomain.co.uk/cacti

     

    If Requested I can write a complete guide to this

     

    162757329_Screenshot2020-05-02at02_53_02.thumb.png.a6669ce10ea71f1ce83dc53b4f897eca.png

×
×
  • Create New...