Skip to content

Make application runnable under different context root #35

Description

@thombergs

Spring supports the environment variable server.contextPath which lets the application run under a different context root (e.g. "/gitanizer" instead of "/").

When using this configuration, the login does not work anymore, since the Spring Security configuration redirects to "/do-login" (see GitanizerSecurityConfiguration). Removing the slash doesn't work, though.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions