Skip to content

Instantly share code, notes, and snippets.

shoeb751 / nginx.conf
Last active Apr 14, 2021 — forked from morhekil/nginx.conf
Full request/response body logging in nginx
View nginx.conf
http {
server {
log_format bodylog '$remote_addr - $remote_user [$time_local] '
'"$request" $status $body_bytes_sent '
'"$http_referer" "$http_user_agent" $request_time '
'<"$request_body" >"$resp_body"';
set $resp_body "";
View elementaryos-postinstall
First update:
sudo apt-get update && sudo apt-get upgrade
Kernel updates:
sudo apt-get install linux-generic-lts-raring
sudo apt-get install build-essential ubuntu-restricted-extras htop devede winff k3b libavformat-extra-53 libavcodec-extra-53 tomboy vlc audience etube foto gazette faac faad ffmpeg ffmpeg2theora flac icedax id3v2 lame libflac++6 libjpeg-progs libmpeg3-1 mencoder mjpegtools mp3gain mpeg2dec mpeg3-utils mpegdemux mpg123 mpg321 regionset sox uudeview vorbis-tools x264 dconf-editor dconf-tools wingpanel-slim soundconverter gstreamer0.8-plugins gstreamer0.8-mad gstreamer0.8-lame gwenview pinta indicator-synapse vim-gtk tree aria2 links2 gimp unzip msttcorefonts openjdk-6-jdk