Commit 747b8e29 authored by Lukas Burgey's avatar Lukas Burgey

Remove obsolete files

parent 87946534
[uwsgi]
# Django-related settings
# the base directory (full path)
chdir = /home/hdf/backend
# Django's wsgi file
module = django_backend.wsgi
# the virtualenv (full path)
home = /home/hdf/backend/env
# process-related settings
# master
master = true
# maximum number of worker processes
processes = 1
# the socket (use the full path to be safe
socket = /home/hdf/backend/backend.sock
# ... with appropriate permissions - may be needed
chmod-socket = 666
# clear environment on exit
vacuum = true
logger = file:/var/log/uwsgi.log
env = DB_PASSWORD=jaydGodd6
env = DB_USER=scc-hdfmysql0001
map $http_upgrade $connection_upgrade {
default upgrade;
'' close;
}
upstream django {
server unix://home/feudal/backend/feudal.sock;
}
upstream websocket {
server 127.0.0.1:15674;
}
server {
listen 80 default_server;
listen [::]:80 default_server;
server_name _;
return 301 https://$host$request_uri;
}
server {
listen 443 ssl http2 default_server;
listen [::]:443 ssl http2 default_server;
server_name hdf-portal.data.kit.edu;
charset utf-8;
client_max_body_size 75M;
ssl on;
ssl_certificate /etc/ssl/hdf-portal.data.kit.edu/chain.pem;
ssl_trusted_certificate /etc/ssl/hdf-portal.data.kit.edu/fullchain.pem;
ssl_certificate_key /etc/ssl/hdf-portal.data.kit.edu/key.pem;
ssl_session_cache shared:SSL:20m;
ssl_session_timeout 180m;
ssl_prefer_server_ciphers on;
ssl_ciphers ECDH+AESGCM:ECDH+AES256:ECDH+AES128:DHE+AES128:!ADH:!AECDH:!MD5;
ssl_protocols TLSv1 TLSv1.1 TLSv1.2;
ssl_dhparam /etc/nginx/cert/dhparam.pem;
ssl_stapling on;
ssl_stapling_verify on;
resolver 141.3.175.65 141.3.175.66;
add_header Strict-Transport-Security "max-age=31536000; includeSubDomains" always;
root /home/feudal/webpage/dist;
index index.html;
location /backend/static {
alias /home/feudal/backend/static;
}
location /backend {
uwsgi_pass django;
include /home/feudal/backend/deployment/uwsgi_params;
}
location /frontend {
try_files $uri $uri/ /index.html;
}
location /ws {
proxy_pass http://websocket/ws;
proxy_http_version 1.1;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection $connection_upgrade;
}
location / {
rewrite "^$" /frontend;
}
}
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