30 lines
723 B
Plaintext
30 lines
723 B
Plaintext
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;
|
|
|
|
location / {
|
|
uwsgi_pass unix:///run/uwsgi/app/ckan/socket;
|
|
include uwsgi_params;
|
|
uwsgi_param SCRIPT_NAME '';
|
|
uwsgi_param UWSGI_SCHEME $scheme;
|
|
}
|
|
}
|
|
|
|
server {
|
|
listen 127.0.0.1:8098;
|
|
listen [::1]:8098;
|
|
|
|
access_log /var/log/nginx/ckan-datapusher.access.log;
|
|
error_log /var/log/nginx/ckan-datapusher.error.log;
|
|
|
|
location / {
|
|
uwsgi_pass unix:///run/uwsgi/app/ckan-datapusher/socket;
|
|
include uwsgi_params;
|
|
uwsgi_param SCRIPT_NAME '';
|
|
uwsgi_param UWSGI_SCHEME $scheme;
|
|
}
|
|
}
|