Skip to content

Instantly share code, notes, and snippets.

View azzaka's full-sized avatar

Lee Goile azzaka

  • UK/Australia
View GitHub Profile
@azzaka
azzaka / fcgi.include.conf
Created December 1, 2021 11:57 — forked from rabin-io/fcgi.include.conf
Request Tracker nginx Configuration + systemd service and socket activation units
# /opt/rt5/var/nginx/fcgi.include.conf
#fastcgi_pass unix:/run/rt-server.sock;
fastcgi_pass rt_backend;
fastcgi_param SCRIPT_NAME "";
fastcgi_param PATH_INFO $fastcgi_script_name;
fastcgi_param QUERY_STRING $query_string;
fastcgi_param REQUEST_METHOD $request_method;
fastcgi_param CONTENT_TYPE $content_type;
fastcgi_param CONTENT_LENGTH $content_length;
@azzaka
azzaka / nginx.conf
Created October 6, 2019 16:55 — forked from nrollr/nginx.conf
NGINX config for SSL with Let's Encrypt certs
# UPDATED 17 February 2019
# Redirect all HTTP traffic to HTTPS
server {
listen 80;
listen [::]:80;
server_name www.domain.com domain.com;
return 301 https://$host$request_uri;
}
# SSL configuration
@azzaka
azzaka / Dockerfile
Last active February 27, 2017 13:32 — forked from Wildcarde/Dockerfile
Unreal Tournament Docker Container Files - Currently this makes a free standing server, a future update will be enable handling launching hubs
FROM centos:6
MAINTAINER Garrett McGrath <gmcgrath815+docker at gmail.com>
RUN yum install -y wget unzip; /usr/bin/wget "<unreal linux source link here>" -O temp.zip; /usr/bin/unzip temp.zip; rm temp.zip
RUN yum install -y Xvfb xorg-X11-server-Xvfb which
RUN chmod +x /LinuxServer/Engine/Binaries/Linux/*
#this is where you SHOULD be able to mount the confs file and have it 'just work' that's not the case however.
#! /bin/sh
### BEGIN INIT INFO
# Provides: znc
# Default-Start: 2 3 4 5
# Default-Stop: 0 1 6
# Short-Description: znc initscript
# Description: This is the init-Script for znc.
### END INIT INFO
# Author: Henner M. Kruse