Commit 4a673891 authored by Ryan Herbert's avatar Ryan Herbert

docker remove unsued files

parent a05c3b4a
[Unit]
Description=vidjil fuse server
After=network-online.target local-fs.target
[Service]
WorkingDirectory=/usr/share/vidjil/server
ExecStart=/usr/bin/python /usr/share/vidjil/server/fuse_server.py
User=www-data
Restart=always
KillSignal=SIGQUIT
Type=simple
StandardError=syslog
NotifyAccess=all
[Install]
WantedBy=multi-user.target
[Unit]
Description=web2py vidjil task scheduler
After=network-online.target
[Service]
ExecStart=/usr/bin/python /usr/share/vidjil/server/web2py/web2py.py -K vidjil,vidjil,vidjil
User=www-data
Restart=always
KillSignal=SIGQUIT
Type=simple
[Install]
WantedBy=multi-user.target
uwsgi_pass uwsgi;
include uwsgi_params;
uwsgi_param UWSGI_SCHEME $scheme;
uwsgi_param SERVER_SOFTWARE nginx/$nginx_version;
###remove the comments to turn on if you want gzip compression of your pages
# include /etc/nginx/conf.d/web2py/gzip.conf;
### end gzip section
worker_processes auto;
http {
upstream uwsgi {
server uwsgi:8000;
}
include /etc/nginx/mime.types;
server_tokens off;
server {
listen 80;
location /browser {
root /usr/share/vidjil/;
expires 1h;
error_page 405 = $uri;
}
location /germline {
root /usr/share/vidjil/;
expires 1h;
error_page 405 = $uri;
}
location ~* ^/(\w+)/static/ {
root /usr/share/vidjil/server/web2py/applications/;
expires max;
}
location / {
uwsgi_pass uwsgi;
include uwsgi_params;
uwsgi_param UWSGI_SCHEME $scheme;
uwsgi_param SERVER_SOFTWARE nginx/$nginx_version;
proxy_read_timeout 600;
include /etc/nginx/conf.d/web2py/gzip.conf;
client_max_body_size 20G;
}
client_max_body_size 20G;
location /cgi/ {
gzip off;
root /usr/share/vidjil/browser/;
# Fastcgi socket
fastcgi_pass unix:/var/run/fcgiwrap.socket;
# Fastcgi parameters, include the standard ones
include /etc/nginx/fastcgi_params;
# Adjust non standard parameters (SCRIPT_FILENAME)
fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
}
}
server {
listen 443 default_server ssl;
server_name $hostname;
ssl_certificate /etc/nginx/ssl/web2py.crt;
ssl_certificate_key /etc/nginx/ssl/web2py.key;
ssl_prefer_server_ciphers on;
ssl_session_cache shared:SSL:10m;
ssl_session_timeout 10m;
ssl_ciphers ECDHE-RSA-AES256-SHA:DHE-RSA-AES256-SHA:DHE-DSS-AES256-SHA:DHE-RSA-AES128-SHA:DHE-DSS-AES128-SHA;
ssl_protocols TLSv1 TLSv1.1 TLSv1.2;
keepalive_timeout 70;
location / {
uwsgi_pass uwsgi;
include uwsgi_params;
uwsgi_param UWSGI_SCHEME $scheme;
uwsgi_param SERVER_SOFTWARE nginx/$nginx_version;
proxy_read_timeout 600;
client_max_body_size 20G;
}
}
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment