Skip to content

Instantly share code, notes, and snippets.

@Mic92
Mic92 / nginx.conf
Last active May 26, 2019 14:46
nginx configuration for the selfoss rss readerAs I don't get notification for gist comments, please add your modification to the wiki:https://github.com/SSilence/selfoss/wiki/nginx-configuration
# please make sure all directories/files in public/ are readable to your webserver, as well as data/favicons
# If it still doesn't work look into your log files at /var/log/nginx/rss.error.log
upstream backend { server unix:/var/run/php-fpm.sock; }
server {
listen [::]:80;
listen [::]:443 ssl;
server_name rss.yourdomain.com;
root /var/www/selfoss/;
@v1nc3ntlaw
v1nc3ntlaw / rbenv.sh
Created March 30, 2012 13:50
rbenv install ruby 1.9.3-p327 on Ubuntu 12.04 LTS for chef bootstrap
# rbenv setup
export RBENV_ROOT=/usr/local/rbenv
export PATH="$RBENV_ROOT/bin:$PATH"
eval "$(rbenv init -)"
@scelis
scelis / chpwd_update_git_vars.sh
Created November 27, 2009 20:16
Add git information to your ZSH prompt.
update_current_git_vars