Geoff Callender commented on

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view

Geoff Callender commented on

    Geoff Callender has commented on
    You can find the comment here:
    Please note that if the comment contains a hyperlink, it must be approved
    before it is shown on the site.

    Below is the reply that was posted:
    I'd suggest making it clear that you can mix and match secure and non-secure in the configuration. For example, to accomodate a load balancer that handles all HTTPS decryption and forwards the traffic with HTTPS headers, but which also emits a health check request in HTTP, you can secure the whole application except the directory containing the health check page. Assuming the page is in directory pages/healthcheck/, here's what you put in AppModule:

public void contributeMetaDataLocator(MappedConfiguration<String,String> configuration)
    configuration.add("healthcheck:"   MetaDataConstants.SECURE_PAGE, "false");
    configuration.add(MetaDataConstants.SECURE_PAGE, "true");

    With regards,
    The Apache Tapestry Project.

    You are receiving this email because you have subscribed to changes for the tapestry site.
    To stop receiving these emails, unsubscribe from the mailing list that is providing these notifications.

To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]