multiple changes

This commit is contained in:
root
2021-01-10 08:10:06 +01:00
parent 3db6eadd83
commit 0c02fac0ba
10 changed files with 572 additions and 13 deletions

30
fet.at/2020.prod.conf Normal file
View File

@@ -0,0 +1,30 @@
server {
listen 80;
server_name 2020.fet.at;
include snippets/letsencrypt.conf;
}
server {
listen 443 ssl http2;
server_name 2020.fet.at;
ssl_certificate /etc/letsencrypt/live/moses.2020.fet.at/fullchain.pem;
ssl_certificate_key /etc/letsencrypt/live/moses.2020.fet.at/privkey.pem;
ssl_trusted_certificate /etc/letsencrypt/live/moses.2020.fet.at/chain.pem;
include snippets/ssl.conf;
include snippets/header.conf;
client_max_body_size 10M;
location /api {
return 403 "Contact bofh@fet.at if you really need to access this";
}
location / {
proxy_pass http://fetsite21:8001;
include snippets/proxy_header.conf;
proxy_http_version 1.1;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection "upgrade";
}
}