Coder Social home page Coder Social logo

Comments (3)

thomst08 avatar thomst08 commented on September 2, 2024

Hey @HeisenbergK,

Thanks for reaching out.
Hmmmm, I am not sure as I have not tried to setup Requestrr like this, I might have to setup a VM and test it...
In theory, as long as you have setup Nginx to proxy the traffic correctly to Requestrr's website (which is http on port 4545) and have the correct SSL certificates...it should work fine but I do not know.

I might test this and see if I can find any issues. But, might be a little while until I have some spare time.

from requestrr.

HeisenbergK avatar HeisenbergK commented on September 2, 2024

Found a solution. First set network_mode: host in docker to be able to see Radarr/Sonarr.
Then in nginx, you need to set a new server in sites-enabled, listening to the subdomain set for requestrr in the DNS routing. Example:

server {
  listen 443 ssl http2;
  listen [::]:443 ssl http2;
  server_name requestrr.example.com;

  ssl_certificate /etc/nginx/ssl/example.com/fullchain.pem;
  ssl_certificate_key /etc/nginx/ssl/example.com/key.pem;
  include snippets/ssl-params.conf;
  client_max_body_size 40M; # If uploading large files to application set this to 0 and remove the M
  server_tokens off; # Security

  location / {
    proxy_pass http://127.0.0.1:4545/; # Docker Container port
    proxy_set_header Host $host;
    proxy_set_header X-Real-IP $remote_addr;
    proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
    proxy_set_header X-Forwarded-Proto $scheme;
    proxy_set_header X-Forwarded-Protocol $scheme;
    proxy_set_header X-Forwarded-Host $http_host;
    proxy_set_header Upgrade $http_upgrade;
    proxy_set_header Connection "upgrade";
  }

  location ~ /\.ht {
    deny all;
  }
}

Hope it helps people set up awesome servers!!

from requestrr.

thomst08 avatar thomst08 commented on September 2, 2024

Hey HeisenbergK,

Sorry, I never got a chance to look at this. What you have found is perfect, I'm glad you found a solution.
Thank you for sharing :)

from requestrr.

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.