mirror of
https://github.com/Cian-H/am-d-model.eu.git
synced 2026-05-06 07:11:42 +01:00
26 lines
716 B
Plaintext
26 lines
716 B
Plaintext
server {
|
|
listen 8080;
|
|
server_name invenio.am-d-model.eu;
|
|
|
|
# Disable SSL - this is an internal connection
|
|
ssl off;
|
|
|
|
location / {
|
|
include uwsgi_params;
|
|
uwsgi_pass ui_server;
|
|
uwsgi_param Host $http_host;
|
|
uwsgi_param X-Real-IP $http_x_real_ip;
|
|
uwsgi_param X-Forwarded-For $http_x_forwarded_for;
|
|
uwsgi_param X-Forwarded-Proto $http_x_forwarded_proto;
|
|
}
|
|
|
|
location /api {
|
|
include uwsgi_params;
|
|
uwsgi_pass api_server;
|
|
uwsgi_param Host $http_host;
|
|
uwsgi_param X-Real-IP $http_x_real_ip;
|
|
uwsgi_param X-Forwarded-For $http_x_forwarded_for;
|
|
uwsgi_param X-Forwarded-Proto $http_x_forwarded_proto;
|
|
}
|
|
}
|