-
Notifications
You must be signed in to change notification settings - Fork 62
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Reflect proxy website into the project and website #205
Comments
Make sure the reverse proxy properly forwards headers, as the links are generated using the |
Not sure how well this applies to you, but here's an example of someone configuring nginx: #143 (comment) |
Okay thanks for mentioning it. I have already went through and checked that issue, the problem is that I'm using IIS as reverse proxy, as my port-opened port happens to be a legacy ASP.net webforms application hosted on IIS. I have tried configuring URL rewrites, but with no luck. Is there any form or way that I can modify the Host Header for each request sent? |
Pretty sure there is a way, as I feel like I've had this problem before, I just don't remember. How do you have your IIS site configured to work as reverse proxy, which module does that? |
I read that |
I'm using URL Rewrite from IIS to rewrite the access of a virtual directory, within my main website, to rewrite the url into localhost:5544 |
This guy had the exact opposite problem, rewriting the URL but it didn't change the host header lol, maybe you can compare his config to yours and see if there's anythin extra in yours that changes the host header? |
Is your feature request related to a problem? Please describe.
I'm trying to have the server to run behind a proxy. Where I would have my domain at example.com/nuget that would load for me the website alongside the proper requests and everything.
Mainly this is fine, but when it comes to the .json that gets produced, it's showing the wrong url :
![image](https://private-user-images.githubusercontent.com/24224586/399447004-bfa6d279-566c-4e25-8ba3-d7efe62c356f.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3Mzg4OTI3NzYsIm5iZiI6MTczODg5MjQ3NiwicGF0aCI6Ii8yNDIyNDU4Ni8zOTk0NDcwMDQtYmZhNmQyNzktNTY2Yy00ZTI1LThiYTMtZDdlZmU2MmMzNTZmLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNTAyMDclMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjUwMjA3VDAxNDExNlomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPWViYTY5ZDZlNDE1MTBiNDFjMjY3NTQyMTQ0NWY3NTBmODFkMzA2YjBmZjY0MjMwNjllNDRhZWU4MGQzNjU4ODQmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0In0.50yFGvpcvbX0GfmyET9lSny0jTtv_Q7ecwf63R9U4dw)
which won't load the packages info properly :
Describe the solution you'd like
What I want is to have the proxy domain to be correctly reflected in the url that is getting used throughout the website.
Describe alternatives you've considered
I will consider directly opening ports from our AWS Ec2 machine to our development subnet to connect directly to the nuget server
Additional context
I'm trying to make development nuget packages that will be only distributed among our development team. Currently there is a complication to where I shall privatly host them. I'm trying to host them on our on-prem servers and AWS Ec2 Machines, but this requires a long process of approvals and all. So that's why I considered utilizing an already opened port, that all of my dev team has access to, and load nuget website by proxying a directory to the nuget website.
The text was updated successfully, but these errors were encountered: