install/tpl/nginx_apps.vhost.master | ●●●●● patch | view | raw | blame | history |
install/tpl/nginx_apps.vhost.master
@@ -1,5 +1,12 @@ server { listen {apps_vhost_ip}{apps_vhost_port}; ssl {ssl_on}; {ssl_comment}ssl_protocols TLSv1 TLSv1.1 TLSv1.2; {ssl_comment}ssl_certificate /usr/local/ispconfig/interface/ssl/ispserver.crt; {ssl_comment}ssl_certificate_key /usr/local/ispconfig/interface/ssl/ispserver.key; # redirect to https if accessed with http {ssl_comment}error_page 497 https://$host:{vhost_port}$request_uri; server_name {apps_vhost_servername};