We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ec9c547 commit d3bc5f9Copy full SHA for d3bc5f9
install/tpl/nginx_apps.vhost.master
@@ -1,5 +1,12 @@
1
server {
2
listen {apps_vhost_ip}{apps_vhost_port};
3
+ ssl {ssl_on};
4
+ {ssl_comment}ssl_protocols TLSv1 TLSv1.1 TLSv1.2;
5
+ {ssl_comment}ssl_certificate /usr/local/ispconfig/interface/ssl/ispserver.crt;
6
+ {ssl_comment}ssl_certificate_key /usr/local/ispconfig/interface/ssl/ispserver.key;
7
+
8
+ # redirect to https if accessed with http
9
+ {ssl_comment}error_page 497 https://$host:{vhost_port}$request_uri;
10
11
server_name {apps_vhost_servername};
12
@@ -199,4 +206,4 @@ server {
199
206
alias /var/lib/mailman/archives/public;
200
207
autoindex on;
201
208
}
202
-}
209
+}
0 commit comments