Help me nginx to caddy

server {
  server_name qb-old.example.com;

  location / {
    include proxy_params;
    proxy_pass http://localhost:8080;
  }
}

server {
  server_name qb-web.example.com;

  location / {
    root /var/www/qb-web/public/;
  }

  location /api {
    include proxy_params;
    proxy_pass http://localhost:8080;
  }
}

thx you.

What have you tried? Could you fill out the thread template?

1 Like

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.