Add JLS_CONTEXT env var

Ability to set a custom UID / GID
Timezone was not setted
No need of Nginx
Error while saving stats
This commit is contained in:
CrazyMax
2018-02-15 16:52:47 +01:00
parent d57796dbcf
commit 45a1cc0557
8 changed files with 63 additions and 64 deletions

View File

@@ -1,36 +0,0 @@
daemon off;
user nginx;
error_log stderr error;
events {
worker_connections 2048;
use epoll;
}
http {
include mime.types;
default_type application/octet-stream;
aio threads;
sendfile on;
keepalive_timeout 15;
keepalive_disable msie6;
keepalive_requests 100;
tcp_nopush on;
tcp_nodelay on;
server_tokens off;
gzip off;
# https://www.jetbrains.com/help/license_server/configuring_secure_connection.html
server {
listen 80;
location / {
proxy_set_header X-Forwarded-Host $http_host;
proxy_http_version 1.1;
proxy_set_header Host $host;
proxy_set_header X-Forwarded-For $remote_addr;
proxy_set_header X-Real-IP $remote_addr;
proxy_pass http://127.0.0.1:8080/;
}
}
}

View File

@@ -1,25 +1,21 @@
[supervisord]
nodaemon=true
pidfile=/var/run/supervisord.pid
nodaemon = true
user = root
logfile = /var/log/supervisord/supervisord.log
pidfile = /var/run/supervisord.pid
childlogdir = /var/log/supervisord/
logfile_maxbytes = 50MB
logfile_backups = 10
loglevel = info
[supervisorctl]
serverurl=unix:///var/run/supervisor.sock
serverurl = unix:///var/run/supervisor.sock
[unix_http_server]
file=/var/run/supervisor.sock
file = /var/run/supervisor.sock
[rpcinterface:supervisor]
supervisor.rpcinterface_factory = supervisor.rpcinterface:make_main_rpcinterface
[program:license-server]
priority=1
command=/usr/local/bin/license-server run
stdout_logfile=/dev/stdout
stdout_logfile_maxbytes=0
redirect_stderr=true
[program:nginx]
command=/usr/sbin/nginx
stdout_logfile=/dev/stdout
stdout_logfile_maxbytes=0
redirect_stderr=true
[include]
files = /etc/supervisord/*.conf

View File

@@ -0,0 +1,5 @@
[program:license-server]
command = /usr/local/bin/license-server run
stdout_logfile = /dev/stdout
stdout_logfile_maxbytes = 0
redirect_stderr = true