Browse Source

Update flarum.stpl (#3695)

Enable SSL
Jaap Marcus 2 years ago
parent
commit
738389d376
1 changed files with 4 additions and 0 deletions
  1. 4 0
      install/deb/templates/web/nginx/php-fpm/flarum.stpl

+ 4 - 0
install/deb/templates/web/nginx/php-fpm/flarum.stpl

@@ -13,6 +13,10 @@ server {
 	access_log  /var/log/nginx/domains/%domain%.bytes bytes;
 	error_log   /var/log/nginx/domains/%domain%.error.log error;
 
+	ssl_certificate      %ssl_pem%;
+	ssl_certificate_key  %ssl_key%;
+	ssl_stapling on;
+    	ssl_stapling_verify on;
 
 	include %home%/%user%/conf/web/%domain%/nginx.forcessl.conf*;