Loading files
This file is pinned to the selected release. Download the original to open it in your design tool.
750da71d1This file is pinned to the selected release. Download the original to open it in your design tool.
# nginx
worker_processes 1;
daemon off;
pid /var/tmp/nginx.pid;
error_log /dev/stderr;
events {
worker_connections 5;
}
http {
sendfile on;
tcp_nopush on;
tcp_nodelay on;
keepalive_timeout 65;
types_hash_max_size 2048;
# server_tokens off;
# server_names_hash_bucket_size 64;
# server_name_in_redirect off;
include /etc/nginx/mime.types;
default_type application/octet-stream;
gzip on;
server {
listen 8080;
access_log /dev/stdout;
root Res/src;
index index.html;
location /api {
proxy_pass http://10.0.0.2:80/api;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr;
}
}
}