1 # ============LICENSE_START===============================================
2 # Copyright (C) 2020 Nordix Foundation. All rights reserved.
3 # ========================================================================
4 # Licensed under the Apache License, Version 2.0 (the "License");
5 # you may not use this file except in compliance with the License.
6 # You may obtain a copy of the License at
8 # http://www.apache.org/licenses/LICENSE-2.0
10 # Unless required by applicable law or agreed to in writing, software
11 # distributed under the License is distributed on an "AS IS" BASIS,
12 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 # See the License for the specific language governing permissions and
14 # limitations under the License.
15 # ============LICENSE_END=================================================
20 error_log /var/log/nginx/error.log warn;
21 pid /var/run/nginx.pid;
23 worker_connections 1024;
26 ssl_password_file /etc/ssl/private/pass;
27 include /etc/nginx/mime.types;
28 default_type application/octet-stream;
29 log_format main '$remote_addr - $remote_user [$time_local] "$request" '
30 '$status $body_bytes_sent "$http_referer" '
31 '"$http_user_agent" "$http_x_forwarded_for"';
32 access_log /var/log/nginx/access.log main;
35 include /etc/nginx/conf.d/*.conf;
42 server_name localhost;
43 ssl_certificate /etc/ssl/private/cert.crt;
44 ssl_certificate_key /etc/ssl/private/key.crt;
51 uwsgi_pass unix:///tmp/uwsgi.sock;