Skip to content

Instantly share code, notes, and snippets.

<IfModule mod_ssl.c>
<VirtualHost *:443>
ServerName myserver.com
ProxyPreserveHost On
ProxyRequests Off
RewriteEngine On
RewriteCond %{HTTP:Upgrade} =websocket [NC]
RewriteRule /(.*) ws://localhost:8000/$1 [P,L]
pipeline {
options {
buildDiscarder(logRotator(numToKeepStr: '3'))
}
agent any
stages {
stage('Cloning Git'){
steps {
// check out git repo and pull submodules recursively
# docker compose with persistent data in database and php
version: '3.3'
services:
db:
image: mysql:5.7
volumes:
- db_data:/var/lib/mysql
restart: always
@hazelement
hazelement / .gitignore
Last active August 23, 2019 22:15
Git
# Created by https://www.gitignore.io
# Jetbrains
.idea
### OSX ###
.DS_Store
.AppleDouble
.LSOverride