Skip to content

Instantly share code, notes, and snippets.

View borutmrak's full-sized avatar

Borut Mrak borutmrak

View GitHub Profile
asterisk:
sip:
users:
'00_tpl_grandstream-phone':
opts:
type: "friend"
context: "from-local"
host: "dynamic"
nat: "no"
dtmfmode: "rfc2833"
@borutmrak
borutmrak / gist:9b0384c9bc3066e7e999
Created January 9, 2015 13:34
ubuntu ttf-mscorefonts-installer Salt state
ttf-mscorefonts-installer:
debconf.set:
- name: ttf-mscorefonts-installer
- data: { 'msttcorefonts/accepted-mscorefonts-eula': { 'type': 'boolean', 'value': True } }
pkg.installed:
- pkgs:
- ttf-mscorefonts-installer
- requires:
- debconf: ttf-mscorefonts-installer
@borutmrak
borutmrak / gist:bc732df9278c2061ea10
Last active June 10, 2016 19:29
Nginx - Request Tracker in a subdirectory
I had Request Tracker running on https://support.example.com.
Now I want to move it to https://example.com/support/.
In Request Tracker itself, the configuration file contained this:
Set( $WebDomain, 'support.example.com' );
Set( $WebPath, "");
Set( $WebPort, '443' );
What I want to achieve is this: