recreate
This commit is contained in:
@@ -0,0 +1,21 @@
|
||||
#
|
||||
# Note: This file must be loaded before other virtual host config files,
|
||||
#
|
||||
# HTTPS
|
||||
server {
|
||||
listen PH_HTTPS_PORT ssl;
|
||||
#listen [::]:PH_HTTPS_PORT ssl;
|
||||
server_name _;
|
||||
|
||||
root PH_HTTPD_DOCUMENTROOT;
|
||||
index index.php index.html;
|
||||
|
||||
include PH_NGINX_CONF_TMPL_DIR/misc.tmpl;
|
||||
include PH_NGINX_CONF_TMPL_DIR/ssl.tmpl;
|
||||
include PH_NGINX_CONF_TMPL_DIR/iredadmin.tmpl;
|
||||
include PH_NGINX_CONF_TMPL_DIR/roundcube.tmpl;
|
||||
include PH_NGINX_CONF_TMPL_DIR/sogo.tmpl;
|
||||
include PH_NGINX_CONF_TMPL_DIR/netdata.tmpl;
|
||||
include PH_NGINX_CONF_TMPL_DIR/php-catchall.tmpl;
|
||||
include PH_NGINX_CONF_TMPL_DIR/stub_status.tmpl;
|
||||
}
|
||||
@@ -0,0 +1,14 @@
|
||||
#
|
||||
# Note: This file must be loaded before other virtual host config files,
|
||||
#
|
||||
# HTTP
|
||||
server {
|
||||
# Listen on ipv4
|
||||
listen PH_PORT_HTTP;
|
||||
#listen [::]:PH_PORT_HTTP;
|
||||
|
||||
server_name _;
|
||||
|
||||
# Redirect all insecure http:// requests to https://
|
||||
return 301 https://$host$request_uri;
|
||||
}
|
||||
Reference in New Issue
Block a user