Skip to content

Instantly share code, notes, and snippets.

@ryanthejuggler
Created October 11, 2013 17:37
Show Gist options
  • Save ryanthejuggler/6938887 to your computer and use it in GitHub Desktop.
Save ryanthejuggler/6938887 to your computer and use it in GitHub Desktop.
server {
listen 80;
server_name thoughts.muller.io;
location /favicon.ico {
alias /var/www/trophy.png.ico;
}
location / {
rewrite ^/(.*)$ /wiki/$1 break;
proxy_pass http://localhost:8080;
proxy_set_header Host $host;
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment