Replies: 2 comments
-
There is nothing specific about www and/or apache. Just add your non-www domain as a custom domain, and set the redirect to that domain. |
Beta Was this translation helpful? Give feedback.
0 replies
-
This is what worked for me. I put it on top of the nginx configuration.
|
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I want to redirect all traffic that starts with www to my domain without www. What do I have to do to achieve this?
This is my captain-definition file.
{ "schemaVersion": 2, "dockerfileLines": [ "FROM php:8.1-apache", "COPY ./public/ /var/www/html/", "RUN cp \"$PHP_INI_DIR/php.ini-production\" \"$PHP_INI_DIR/php.ini\"" ] }
Beta Was this translation helpful? Give feedback.
All reactions