Welcome to the Inedo Forums! Check out the Forums Guide for help getting started.

If you are experiencing any issues with the forum software, please visit the Contact Form on our website and let us know!

nginx: subfolder location setup



  • Hey,
    the test setup for a nuget.org proxy went straight on! Thanks for that!

    I have a docker setup on a linux host, with a nginx on the host.

    To have https support i'd like to povide ProGet on a sub location like this:

            location /proget/ {
                    proxy_pass http://localhost:8624/;          # internal ProGet port
                    proxy_http_version 1.1;
    
                    # Ensure that paths are passed correctly
                    rewrite ^/proget(/.*)$ $1 break;
    
                    # Allow large NuGet package uploads
                    client_max_body_size 200M;
            }
    

    Web.BaseUrl seems to be ignored

    https://intern.mycompany.com/proget/
    

    Can me help someone? This is the missing gap we need to close...

    Thanks!


  • inedo-engineer

    Hi @andreas_9392 ,

    That configuration is not supported and will not work; You'll need to configure https://proget.mycompany.com/ or use a port.

    Thanks,
    Alana


Log in to reply
 

Inedo Website HomeSupport HomeCode of ConductForums GuideDocumentation