multiple changes
This commit is contained in:
30
fet.at/2020.prod.conf
Normal file
30
fet.at/2020.prod.conf
Normal 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";
|
||||
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user