Skip to content

Instantly share code, notes, and snippets.

@jermnelson
Created March 18, 2015 19:01
Show Gist options
  • Save jermnelson/9f62d4cc2be0190baa43 to your computer and use it in GitHub Desktop.
Save jermnelson/9f62d4cc2be0190baa43 to your computer and use it in GitHub Desktop.
BIBCAT nginx default configuration file
# BIBCAT nginx default configuration using uwsgi socket
# for bibframe-catalog
server {
listen 80 default_server;
listen [::]:80 default_server ipv6only=on;
root /usr/share/nginx/html;
index index.html index.htm;
# Make site accessible from http://localhost/
server_name localhost;
location / {
try_files $uri @catalog;
}
location @catalog {
include uwsgi_params;
uwsgi_pass unix:/tmp/bibcat.sock;
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment