Giter Site home page Giter Site logo

Reverse Proxy about pwndoc HOT 3 CLOSED

pwndoc avatar pwndoc commented on May 18, 2024
Reverse Proxy

from pwndoc.

Comments (3)

alexcoman avatar alexcoman commented on May 18, 2024 2

Hello @ShojinSpear, @yeln4ts,

I've discovered this awesome project a few days ago, and I also would like to have it running behind a reverse proxy.
In my case, that reverse proxy is traefik.

An example of a Docker compose file for achieving that can be found at the following URL: docker-compose.traefik.yml

The full patchset can be found here.

@yeln4ts if you considered that the patch is useful I can prepare a merge request.

from pwndoc.

yeln4ts avatar yeln4ts commented on May 18, 2024

I don't know if it's possible right now since the frontend is directly contacting the backend on its specific port. But if you manage to do it I'm interested. I was thinking of also doing this for the production environment but would have to change some config in the frontend.

from pwndoc.

yeln4ts avatar yeln4ts commented on May 18, 2024

I found a way to configure nginx for the production environment in order to proxy requests to the backend. So now when running in production you can just use the 8443 port where hostname:8443/api will be proxified to the backend

from pwndoc.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.