This file contains hidden or 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
{ | |
resolve: `gatsby-plugin-sitemap`, | |
options: { | |
query: `{ | |
site { | |
siteMetadata { | |
siteUrl | |
} | |
} | |
allSitePage { |
This file contains hidden or 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 { | |
server_name mydomain.com www.mydomain.com; | |
location / { | |
root /var/www/mydomain.com/html; | |
index index.html index.htm index.php; | |
try_files $uri $uri/ /index.php?q=$request_uri; | |
} | |
listen 443 ssl; # managed by Certbot | |
ssl_certificate /etc/letsencrypt/live/mydomain.com/fullchain.pem; # managed by Certbot | |
ssl_certificate_key /etc/letsencrypt/live/mydomain.com/privkey.pem; # managed by Certbot |
This file contains hidden or 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
@Configuration | |
public class HTTPSConfiguration { | |
//HTTP port | |
@Value("${http.port}") | |
private int httpPort; | |
// Let's configure additional connector to enable support for both HTTP and HTTPS | |
@Bean | |
public ServletWebServerFactory servletContainer() { |
This file contains hidden or 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
FROM ubuntu:latest | |
RUN cd /opt | |
RUN mkdir android-sdk-linux && cd android-sdk-linux/ | |
RUN apt-get update -qq \ | |
&& apt-get install -y openjdk-8-jdk \ | |
&& apt-get install -y wget \ | |
&& apt-get install -y expect \ |
This file contains hidden or 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
// Every jenkins file should start with either a Declarative or Scripted Pipeline entry point. | |
node { | |
// Global variable declaration | |
def project = 'project' | |
def appName = 'app' | |
// Stage, is to tell the Jenkins that this is the new process/step that needs to be executed | |
stage('Checkout') { |
This file contains hidden or 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
# Built application files | |
/*/build/ | |
# Crashlytics configuations | |
com_crashlytics_export_strings.xml | |
# Local configuration file (sdk path, etc) | |
local.properties | |
# Gradle generated files |