configurations/Nginx/Server Blocks/ats.libraryofcode.org.conf

24 lines
534 B
Plaintext
Raw Permalink Normal View History

2021-05-01 15:13:49 -04:00
server {
listen 443 ssl http2;
listen [::]:443 ssl http2;
server_name ats.libraryofcode.org;
ssl_certificate /etc/nginx/ssl/org.chain.crt;
ssl_certificate_key /etc/nginx/ssl/org.key.pem;
root /var/www/opencats;
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;
2021-05-01 16:25:44 -04:00
fastcgi_param HTACCESS on;
2021-05-01 15:13:49 -04:00
proxy_read_timeout 800;
}
}