34 lines
852 B
Nginx Configuration File
34 lines
852 B
Nginx Configuration File
# -*-nginx-*-
|
|
server {
|
|
listen 80;
|
|
server_name www.cloud.fet.at cloud.fet.at;
|
|
|
|
include snippets/letsencrypt.conf;
|
|
}
|
|
|
|
server {
|
|
listen 443 ssl http2;
|
|
server_name www.cloud.fet.at cloud.fet.at;
|
|
|
|
ssl_certificate /etc/letsencrypt/live/www.cloud.fet.at/fullchain.pem;
|
|
ssl_certificate_key /etc/letsencrypt/live/www.cloud.fet.at/privkey.pem;
|
|
ssl_trusted_certificate /etc/letsencrypt/live/www.cloud.fet.at/chain.pem;
|
|
include snippets/ssl.conf;
|
|
|
|
# include snippets/ldap.conf;
|
|
|
|
client_max_body_size 4000M;
|
|
sendfile on;
|
|
send_timeout 600s;
|
|
client_body_in_file_only clean;
|
|
|
|
index index.php;
|
|
location / {
|
|
proxy_pass http://192.168.95.22;
|
|
include snippets/proxy_header.conf;
|
|
proxy_buffering off;
|
|
proxy_request_buffering off;
|
|
client_body_buffer_size 32K;
|
|
}
|
|
}
|