This commit is contained in:
tuend-work
2025-11-12 23:11:18 +07:00
parent 2e16431888
commit 525acd79e4
952 changed files with 0 additions and 57002 deletions

View File

@@ -1,49 +0,0 @@
|?CACERT_LINE=|
|*if CACERT!=""|
|?CACERT_LINE=ssl_client_certificate `CACERT`;|
|*endif|
|?NGINX_USERDIR=include /etc/nginx/nginx-userdir.conf;|
|*if HAVE_USERDIR_ACCESS="0"|
|?NGINX_USERDIR=|
|*endif|
server {
listen |IP|:|PORT_80| default_server;
server_name _;
root |DOCROOT|;
index index.html index.htm index.php;
|NGINX_USERDIR|
|*if HAS_NGINX_PHP_CONF="yes"|
include /usr/local/directadmin/data/users/|USER|/nginx_php.conf;
|*endif|
# deny access to apache .htaccess files
location ~ /\.ht
{
deny all;
}
include /etc/nginx/webapps.conf;
}
server {
listen |IP|:|PORT_443| ssl|SPACE_HTTP2| default_server;
server_name _;
ssl_certificate |CERT|;
ssl_certificate_key |KEY|;
root |DOCROOT|;
index index.html index.htm index.php;
|NGINX_USERDIR|
|*if HAS_NGINX_PHP_CONF="yes"|
include /usr/local/directadmin/data/users/|USER|/nginx_php.conf;
|*endif|
# deny access to apache .htaccess files
location ~ /\.ht
{
deny all;
}
include /etc/nginx/webapps.conf;
}