Skip to content
Snippets Groups Projects
Commit 3a6f0821 authored by Kevin S. Hahn's avatar Kevin S. Hahn
Browse files

apache2 serves /nimsapi and /nims.

parent 28adc2c7
No related branches found
No related tags found
No related merge requests found
WSGIDaemonProcess nimsapi processes=4 threads=16 maximum-requests=1000 display-name=%{GROUP}
<Directory /var/local/post/nimsapi>
WSGIApplicationGroup %{GLOBAL}
WSGIProcessGroup nimsapi
</Directory>
WSGIScriptAlias /nimsapi /var/local/post/nimsapi/nimsapi.wsgi
Alias /nimsapi/docs /var/local/post/docs/_build/html
<Directory /var/local/post/docs/_buid/html>
order deny,allow
allow from all
</Directory>
......@@ -17,8 +17,7 @@ import nimsapi
import nimsutil
logfile = '/var/local/log/nimsapi.log'
db_uri = 'mongodb://coronal2.stanford.edu/nims'
#db_uri = 'mongodb://nims:cnimr750@cnifs.stanford.edu,cnibk.stanford.edu/nims?replicaSet=cni'
db_uri = 'mongodb://nims:cnimr750@cnifs.stanford.edu,cnibk.stanford.edu/nims?replicaSet=cni'
stage_path = '/scratch/upload'
nimsutil.configure_log(logfile, False)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment