# ===================================================================
# Spring Boot configuration for the "prod" profile.
#
# This configuration overrides the application.yml file.
# ===================================================================

# ===================================================================
# Standard Spring Boot properties.
# Full reference is available at:
# http://docs.spring.io/spring-boot/docs/current/reference/html/common-application-properties.html
# ===================================================================

spring:
    profiles:
        active: prod
    cloud:
        config:
            server:
                native:
                    search-locations: file:./central-config
                git:
                    # sample prod config using the central-directory folder in the jhipster-registry github repos
                    uri: https://github.com/jhipster/jhipster-registry/
                    search-paths: central-config
                prefix: /config

    thymeleaf:
        cache: true

# ===================================================================
# Spring Boot configuration for the "prod" profile.
#
# This configuration overrides the application.yml file.
# ===================================================================

# ===================================================================
# Standard Spring Boot properties.
# Full reference is available at:
# http://docs.spring.io/spring-boot/docs/current/reference/html/common-application-properties.html
# ===================================================================

spring:
    profiles:
        active: prod
    cloud:
        config:
            server:
                native:
                    search-locations: file:./central-config
                git:
                    # sample prod config using the central-directory folder in the jhipster-registry github repos
                    uri: https://github.com/jhipster/jhipster-registry/
                    search-paths: central-config
                prefix: /config

    thymeleaf:
        cache: true

server:
    compression:
        enabled: true
        mime-types: text/html,text/xml,text/plain,text/css, application/javascript, application/json
        min-response-size: 1024

Add Gzip compression in production
Add Gzip compression in production
