Preface:
Let NPM (Nginx Proxy Manager) and FRP (Fast Reverse Proxy) share 80/443 ports with wildcard domain name
Configuration:
frps.ini
config
since NPM occupies port 80/443, and then in frps.ini
please replace with a different port. such as: 1080/1443
[common]
bind_addr = 0.0.0.0
bind_port = 17000
vhost_http_port = 1080
vhost_https_port = 1443
# dashboard TLS mode
dashboard_tls_mode = false
authentication_method = token
authenticate_heartbeats = false
authenticate_new_work_conns = false
token = yM1nDMBFihB93zs376uR
# pool_count in each proxy will change to max_pool_count if they exceed the maximum value
max_pool_count = 5
# max ports can be used for each client, default value is 0 means no limit
max_ports_per_client = 0
# tls_only specifies whether to only accept TLS-encrypted connections. By default, the value is false.
tls_only = false
# if subdomain_host is not empty, you can set subdomain when type is http or https in frpc's configure file
subdomain_host = kingtam.win
# Enable golang pprof handlers in dashboard listener.
# Dashboard port must be set first
pprof_enable = false
frpc.ini
config
If Wildcard Domain Name is configured, then the Domain Name parameter in Fill in only the second-level domain name header. e.g. subdomain = navi
[common]
server_addr = frps.kingtam.win
server_port = 17000
token = yM1nDMBFihB93zs376uR
pool_count = 5
tcp_mux = true
user = OneCloud
login_fail_exit = false
protocol = tcp
tls_enable = true
[navi]
type = http
subdomain = navi
local_ip = 127.0.0.1
local_port = 5005
Moreover, If Wildcard Domain Name is not configured, then the Domain Name parameter in Requires a complete domain name. e.g. custom_domains = navi.kingtam.win
instead of subdomain = navi
DNS
management for Wildcard Domain Name (kingtam.win)
NPM
config
NPM reverse FRPS port 1080 to HTTPS with wildcard domain (*.kingtam.win)
proxy_pass http://127.0.0.1:1080;
, written as .HTTP Never HTTPS , and the port 1080 is refer fromfrps.ini
vhost_http_port = 1080proxy_set_header Host $host:80;
Note that port 80 needs to be added, causing the web page to fail to open and prompting too many redirects ERR_TOO_MANY_REDIRECTS.
location / {
proxy_pass http://127.0.0.1:1080;
proxy_redirect off;
proxy_set_header Host $host:80;
proxy_ssl_server_name on;
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;
}
Result:
After each configuration is completed, the result is as shown on the screen.
Reference:
- GitHub - fatedier/frp: A fast reverse proxy to help you expose a local server behind a NAT or firewall to the internet.
- https://nginxproxymanager.com/
- Configure NGINX and FRPS coexistence 80/443 ports and wildcard domain name support tutorial - Siyoucloud - IOIOX
Right here is the perfect website for everyone who really wants to understand this topic.
You understand a whole lot its almost hard to argue with you (not
that I actually will need to…HaHa). You certainly put a fresh spin on a subject
that's been discussed for ages. Great stuff, just excellent!
casino en ligne
This is very attention-grabbing, You are an excessively professional
blogger. I have joined your feed and look forward to in the hunt for more of your great post.
Additionally, I have shared your site in my social networks
casino en ligne France
When I initially commented I clicked the "Notify me when new comments are added" checkbox and now each time a comment is added I get three
e-mails with the same comment. Is there any way you can remove me from that service?
Thanks!
webpage
Great items from you, man. I have bear in mind your stuff prior
to and you're simply extremely magnificent. I really like what you have bought here,
really like what you're stating and the best way by which you say it.
You are making it enjoyable and you still care for to keep
it sensible. I can not wait to read much more
from you. This is really a great site.
casino en ligne francais
Awesome blog! Is your theme custom made or did you download it from somewhere?
A theme like yours with a few simple tweeks would really make my blog stand out.
Please let me know where you got your theme. Kudos
web site
Greate post. Keep writing such kind of info on your site.
Im really impressed by it. Hello there, You have performed an incredible
job. I'll definitely digg it and in my view suggest to my
friends. I am confident they'll be benefited from this website.
website
Your style is so unique in comparison to other people I have read stuff from.
I appreciate you for posting when you've got the opportunity, Guess I'll
just bookmark this site.
web site
At this moment I am ready to do my breakfast, once having my
breakfast coming yet again to read more news.
casino en ligne France
Aw, this was an extremely nice post. Spending some time and actual effort to make a superb article… but what can I say… I procrastinate a
lot and don't seem to get anything done.
homepage
What's up Dear, are you in fact visiting this web page daily,
if so then you will without doubt take fastidious experience.
casino en ligne
Heya i'm for the first time here. I found this board and I find It truly helpful & it helped
me out much. I hope to present something back and aid others
like you aided me.
homepage
Hello there, just became aware of your blog through Google, and found that it is really informative.
I am going to watch out for brussels. I'll be grateful if you continue this in future.
Numerous people will be benefited from your writing.
Cheers!
website
After looking into a number of the articles on your web site, I truly appreciate your way
of writing a blog. I book marked it to my bookmark website
list and will be checking back soon. Please check out my web site as well
and let me know how you feel.
meilleur casino en ligne
Hey there would you mind sharing which blog platform
you're working with? I'm going to start my own blog soon but
I'm having a hard time selecting between BlogEngine/Wordpress/B2evolution and Drupal.
The reason I ask is because your design and style seems different then most blogs and I'm looking for
something unique. P.S Sorry for being off-topic but I had
to ask!
homepage
Do you have a spam problem on this site; I also am a blogger, and
I was curious about your situation; we have created some nice methods and
we are looking to swap methods with others, be sure to shoot me an email if
interested.
web page
Hi, just wanted to mention, I loved this article. It was inspiring.
Keep on posting!
casino en ligne
Hi there to all, it's really a good for me to go to see this site,
it contains priceless Information.
website
I simply could not go away your site prior to suggesting that I extremely enjoyed the standard info an individual provide in your guests?
Is gonna be again often to check out new posts
webpage
I think the admin of this web site is really working hard for his
web site, as here every stuff is quality based information.
webpage
It's enormous that you are getting ideas from this piece of writing as well
as from our discussion made at this place.
casino en ligne fiable
Inventonslemondedapres vous guide vers des casinos en ligne où
le divertissement est roi et la sécurité une
priorité absolue.