merge-requests/2/head
Matthew 2022-02-09 16:39:50 -05:00
parent 3b87daf4d4
commit 8cafc22d6c
No known key found for this signature in database
GPG Key ID: 210AF32ADE3B5C4B
1 changed files with 23 additions and 0 deletions

View File

@ -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;
}
}