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

Handling redirects #18

Open
crunchtime-ali opened this issue Feb 27, 2017 · 2 comments
Open

Handling redirects #18

crunchtime-ali opened this issue Feb 27, 2017 · 2 comments

Comments

@crunchtime-ali
Copy link

I have multiple (sub)domains which are supposed to be redirected all to one subdomain www.myservice.com. How can I do this with a RAP-configuration?

@Routhinator
Copy link

@dj-hedgehog Reading the docs, this could be achieved with a combination of this config:

rap.host=api.example.com=>http:80,api-admin.example.com=>http:8001,secure.example.com=>https:8443

and a properly configured router/.htaccess in your container.

@crunchtime-ali
Copy link
Author

What do you mean with this and a properly configured router/.htaccess in your container.? Can you elaborate on it please?

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