redirect doesnt work anymore?
szkuta opened this issue · 3 comments
tried to add the following lines into
/vddos/conf.d/redirect.conf
/vddos/conf.d/domain/pimmelbande.fun/redirect.conf
/vddos/conf.d/domain/www.pimmelbande.fun/redirect.conf
if ($schemedomain = "http://pimmelbande.fun") { return 301 https://pimmelbande.fun$request_uri; } if ($schemedomain = "http://www.pimmelbande.fun") { return 301 https://pimmelbande.fun$request_uri; } if ($schemedomain = "https://www.pimmelbande.fun") { return 301 https://pimmelbande.fun$request_uri; }
but doesnt work
try it: https://www.pimmelbande.fun/
+The redirect is no longer configured at /vddos/conf.d/redirect.conf
+/vddos/conf.d/redirect.conf is currently just a template
+Please:
- return /vddos/conf.d/redirect.conf to the prototype version
- Remove
rm -rf /vddos/conf.d/domain
- vddos restart
- config redirect for each website in its directory (/vddos/conf.d/domain/pimmelbande.fun/redirect.conf)
- vddos reload
yes but this method doesnt work for me^^ i already tried that
found my mistake
anyway thanks for your support