2017-11-19 10:01:18 +01:00
|
|
|
server {
|
|
|
|
listen 8003 ssl http2;
|
|
|
|
listen [::]:8003 ssl http2;
|
|
|
|
|
|
|
|
access_log /var/log/nginx/ckan.access.log;
|
|
|
|
error_log /var/log/nginx/ckan.error.log;
|
|
|
|
|
2017-11-22 19:18:38 +01:00
|
|
|
location / {
|
|
|
|
uwsgi_pass unix:///run/uwsgi/app/ckan/socket;
|
|
|
|
include uwsgi_params;
|
|
|
|
uwsgi_param SCRIPT_NAME '';
|
|
|
|
uwsgi_param UWSGI_SCHEME $scheme;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
server {
|
2017-11-28 19:33:36 +01:00
|
|
|
listen 127.0.0.1:8098;
|
|
|
|
listen [::1]:8098;
|
2017-11-22 19:18:38 +01:00
|
|
|
|
2017-11-28 15:29:57 +01:00
|
|
|
access_log /var/log/nginx/ckan-datapusher.access.log;
|
|
|
|
error_log /var/log/nginx/ckan-datapusher.error.log;
|
2017-11-22 19:18:38 +01:00
|
|
|
|
2017-11-19 10:01:18 +01:00
|
|
|
location / {
|
|
|
|
uwsgi_pass unix:///run/uwsgi/app/ckan-datapusher/socket;
|
|
|
|
include uwsgi_params;
|
|
|
|
uwsgi_param SCRIPT_NAME '';
|
|
|
|
uwsgi_param UWSGI_SCHEME $scheme;
|
|
|
|
}
|
|
|
|
}
|