[Feature Request] Support Reverse Proxy via apache? #8

Open
opened 2024-01-28 17:34:41 +00:00 by Biatu · 0 comments

Hello I'm looking to expose my fastapi-dls service via a apache2 reverse proxy, but I'm concerned about DLS_PORT, DLS_HOST. port and host are used for the client to talk to fastapi-dls, but if I run this behind a reverse proxy and say try to run the service on 127.0.0.1:18800, and have it accessible via https://fastapi-dls.myserver.tld the clients will fail to connect. Also I've had conflicts running apache alongside fastapi-dls becuase of uvicorn trying to allocate port 80 and 443 with the default setup.

Thanks

Hello I'm looking to expose my fastapi-dls service via a apache2 reverse proxy, but I'm concerned about DLS_PORT, DLS_HOST. port and host are used for the client to talk to fastapi-dls, but if I run this behind a reverse proxy and say try to run the service on 127.0.0.1:18800, and have it accessible via https://fastapi-dls.myserver.tld the clients will fail to connect. Also I've had conflicts running apache alongside fastapi-dls becuase of uvicorn trying to allocate port 80 and 443 with the default setup. Thanks
Sign in to join this conversation.
No Label
No Milestone
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: oscar.krause/fastapi-dls#8
No description provided.