Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Caddy #43

Open
Escanor-87 opened this issue Dec 16, 2024 · 2 comments
Open

Caddy #43

Escanor-87 opened this issue Dec 16, 2024 · 2 comments

Comments

@Escanor-87
Copy link

Hi there! Thank you for your hard work!
Is it possible to make something like this but with caddy?
I have another service on the server on the 9118 port and I want it to open on sub.domain.com and it just won't
gpt tired of me) I just can't make it work.

@GFW4Fun
Copy link
Owner

GFW4Fun commented Dec 17, 2024

Hi
Yes you can with code but need configuration and stream type
reverse proxy with caddy tcp or ws or grpc.....

Caddyfile Configuration
Create or edit your Caddyfile (usually located at /etc/caddy/Caddyfile or /usr/local/etc/caddy/Caddyfile).

Add the following configuration:
sub.domain.com {
    reverse_proxy localhost:9118
}

@Escanor-87
Copy link
Author

Thank you for answering!
I meant the whole configuration that works with nginx now to work with caddy.
Are you saying just to install caddy and reverse proxy to 9118?
How will caddy work with working nginx?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants