fatedier / frp

A fast reverse proxy to help you expose a local server behind a NAT or firewall to the internet.
Apache License 2.0
80.5k stars 12.74k forks source link

subdomains not supported #4194

Closed alexiskhoury closed 2 weeks ago

alexiskhoury commented 2 weeks ago

Bug Description

When using http, frpc reports that the subdomain is not not supported by the frps server. Is there any workaround? Thanks

frpc Version

0.54

frps Version

0.57

System Architecture

linux/amd64, linux/arm

Configurations

[[proxies]] name = "repeater" type = "http" localIP = "192.168.1.250" localPort = 80 subdomain = "ap"

customDomains = ["web.example.com"]

locations = ["/"]

hostHeaderRewrite = "127.0.0.1" requestHeaders.set.x-from-where = "frp"

Logs

No response

Steps to reproduce

No response

Affected area

fatedier commented 2 weeks ago

https://github.com/fatedier/frp?tab=readme-ov-file#custom-subdomain-names

alexiskhoury commented 2 weeks ago

It works like a charm. Many thanks for this great piece of software.