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

Webcheck Docker and Apache #124

Open
EmerikVal opened this issue Apr 3, 2024 · 0 comments
Open

Webcheck Docker and Apache #124

EmerikVal opened this issue Apr 3, 2024 · 0 comments

Comments

@EmerikVal
Copy link

Hi,

Seems like I need your help to deploy this project on my side.
The current configuration is as below
Ubuntu
Apache2
Docker

Here is what i did
sudo docker pull lissy93/web-check
sudo docker run -p 3000:3000 lissy93/web-check

I can access webcheck by using the following url (for example):
https://mysite.com

But I would like to acces webcheck by https://mysite.com/webcheck

So I adapted the apache configuration with

proxypass /webcheck http://1.2.3.4:3000/
RewriteCond %{HTTP:Upgrade} =websocket [NC]
RewriteRule /webcheck/(.) ws://1.2.3.4:3000/$1 [P,L]
RewriteCond %{HTTP:Upgrade} !=websocket [NC]
RewriteRule /webcheck/(.
) http://1.2.3.4:3000/$1 [P,L]
ProxyPassReverse /webcheck http://1.2.3.4:3000/

But it doesnt work. Always a 404 not found issue.
Do you have any clue of how to make it works regarding my configuration?
Thanks a lot!

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

1 participant