Created
March 18, 2015 19:01
-
-
Save jermnelson/9f62d4cc2be0190baa43 to your computer and use it in GitHub Desktop.
BIBCAT nginx default configuration file
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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