From 8cafc22d6c92a7642f47b0fe722aa93c2688914c Mon Sep 17 00:00:00 2001 From: Matthew R Date: Wed, 9 Feb 2022 16:39:50 -0500 Subject: [PATCH] add sis --- .../Server Blocks/sis.libraryofcode.org.conf | 23 +++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 Nginx/Server Blocks/sis.libraryofcode.org.conf diff --git a/Nginx/Server Blocks/sis.libraryofcode.org.conf b/Nginx/Server Blocks/sis.libraryofcode.org.conf new file mode 100644 index 0000000..88e3308 --- /dev/null +++ b/Nginx/Server Blocks/sis.libraryofcode.org.conf @@ -0,0 +1,23 @@ +server { + listen 443 ssl http2; + listen [::]:443 ssl http2; + server_name sis.libraryofcode.org; + + ssl_certificate /etc/nginx/ssl/org.chain.crt; + ssl_certificate_key /etc/nginx/ssl/org.key.pem; + + root /var/www/opensis; + + index index.html index.htm index.php; + + location / { + try_files $uri $uri/ =404; + } + + location ~ \.php$ { + include snippets/fastcgi-php.conf; + fastcgi_pass unix:/run/php/php7.0-fpm.sock; + fastcgi_param HTACCESS on; + proxy_read_timeout 800; + } +}