This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package com.filippomortari; | |
import ch.qos.logback.classic.*; | |
import ch.qos.logback.classic.spi.*; | |
import ch.qos.logback.core.*; | |
import ch.qos.logback.core.spi.*; | |
import com.google.common.collect.ImmutableList; | |
import io.dropwizard.jetty.*; | |
import io.dropwizard.jetty.Slf4jRequestLog; | |
import io.dropwizard.logging.*; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
server { | |
listen 80; | |
server_name {{ server_name }}; | |
return 301 https://{{ server_name }}$request_uri; | |
} | |
server { | |
listen 443; | |
listen [::]:80 default_server ipv6only=on; |