-
Notifications
You must be signed in to change notification settings - Fork 3k
Open
Labels
Description
1Panel Version
v2.1.0
Please describe your needs or suggestions for improvements
In a static website, I need to setup a redirect rule matching / exactly. Currently, if I select redirect type "path" and write "/", ALL requests are redirected, not just those against the index (/) page
Please describe the solution you suggest
In addition to "Domain", "path", "404" redirect types, support "Exact path":
rewrite ^/$ https://example.com/? redirect;
// or more correctly:
location = / {
return 302 https://example.com;
}
Additional Information

Reactions are currently unavailable