Skip to content

Instantly share code, notes, and snippets.

@janlucaklees
janlucaklees / .gitlab-ci.yml
Created Oct 13, 2020
Test a GitLab-CI deploy with env vars
View .gitlab-ci.yml
stages:
- deploy
deploy:
stage: deploy
only: [master]
before_script:
# SSH setup
- mkdir -p ~/.ssh
View .conf
# nginx.conf
server {
listen 443 default_server ssl;
listen [::]:443 default_server ssl;
ssl_certificate /etc/letsencrypt/live/domaina.de/fullchain.pem;
ssl_certificate_key /etc/letsencrypt/live/domaina.de/privkey.pem;
include snippets/ssl-params.conf;
server_name domaina.fail;
}
You can’t perform that action at this time.