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

custom root path #16

Closed
lfoppiano opened this issue Jul 5, 2021 · 2 comments
Closed

custom root path #16

lfoppiano opened this issue Jul 5, 2021 · 2 comments
Labels
question Further information is requested

Comments

@lfoppiano
Copy link
Contributor

I'm trying to deploy this service under a custom root path e.g. /status on a service. I set up a reverse proxy with Apache HTTPD but I cannot map properly http://mysevice/status because the internal URLs are pointing to /.
Maybe I overlooked and there is a way to specify the custom root path? If not would be a nice addition.

@shukriadams
Copy link
Owner

AWD comes with its own HTTP server (Express) that expects to be a top-level application, so I don't think mapping to a subfolder will work. Have you tried setting Apache to proxy to localhost:3000 and then remap incoming DNS entries in Apache? I normally use Nginx to do this, but I assume they work the same.

@shukriadams shukriadams added the question Further information is requested label Jul 5, 2021
@lfoppiano
Copy link
Contributor Author

I see, thank you. My case is a bit different. Maybe not so usual. I want to deploy this on a server on which I don't have any control over the DNS. Maybe there is a way but did not manage to get it to work.

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

No branches or pull requests

2 participants