Skip to content

Enable NGNIX Reverse-proxy #7

Description

@ronibhakta1

Incorporate nginx as a reverse proxy within the Docker container to enable FastAPI to function within it, while ensuring that it remains inaccessible from outside the Docker instance.

Break-down

Things to take-look during this:

  1. The .env file needs changes to store the domain name. The make configure command should only be used during production mode to make it a non-optional parameter.
  2. Wire-up FastAPI to add the domain name when in production mode.
  3. Review the IP-related configurations and other related components in Nginx logs, ensuring that the appropriate information is logged and sensitive data is not inadvertently leaked.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions