Reverse proxy for streaming radio address


is it possible to proxy reverse this way


it would be in this case several proxy for several radios.

where I am currently. aaPanel

I do it this way:


location ^~ /pop
      proxy_pass ;
      proxy_set_header Host;
      proxy_set_header X-Real-IP $remote_addr;
      proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
      proxy_set_header REMOTE-HOST $remote_addr;

      #Configuration related to persistent connection

      add_header X-Cache $upstream_cache_status;
#Set Nginx Cache

      if ( $uri ~* "\.(gif|png|jpg|css|js|woff|woff2)$" )
          expires 12h;
      proxy_ignore_headers Set-Cookie Cache-Control expires;
      proxy_cache cache_one;
      proxy_cache_key $host$uri$is_args$args;
      proxy_cache_valid 200 304 301 302 1m;


Hey @Rafaelrds2017

This is absolutely feasible to manage that. I would start with File provider and manually create service and then create router that is using that service. Here is the example DYNAMIC configuraiton that can be used for further development.

        - "websecure"
      rule: "Host(``)"
      service: "stream-svc"
        certResolver: le
          - url: ""
1 Like

Hi, @jakubhajek thanks for the tip. I'll try to do. I'm using aaPanel. and there do not need to understand programming.

but I will try to study and try to apply.

to make several, is it the same scheme?


where would i put the


for example?

Hi @Rafaelrds2017

There are other matchers that might be used together with Host rule e.g. Path to match /pop or PathPrefix to match /pop/*. Here is the link to docs where all of the available matches are explained.

1 Like

I'll take a look.

but basically what I wanted to do was reverse proxy. on my cloud server.

Hi @Rafaelrds2017

Would you please explain what do you mean by saying "on cloud server"? Did you already install Traefik or do you consider which method is suitable for your environment?

Traefik can be deployed in a container or as a standalone process. You can also use different types of cluster orchestration solutions to manage your containers e.g. Kubernetes, Docker, or Docker Swarm. I would recommend reviewing our official documentation, especially the paragraph Getting Started.

I haven't installed it yet, because I got lost. has a lot of code to install.

but what I want is to install a reverse proxy on a VPS server

At the moment I do this with:

but it is not working 100%