Domain has been changed!
server
{
listen 80;
listen 443 ssl http2;
server_name solutions.de aapan.solutions.de *.solutions.de;
index index.php index.html index.htm default.php default.htm default.html;
root /www/wwwroot/solutions.de;
if ($allowed_country = yes) { return 403; }
#SSL-START SSL related configuration, do NOT delete or modify the next line of commented-out 404 rules
#error_page 404/404.html;
limit_conn perserver 400;
limit_conn perip 15;
limit_rate 1024k;
#HTTP_TO_HTTPS_START
if ($server_port !~ 443){
rewrite /.*$ https://$host$1 permanent;
}
#HTTP_TO_HTTPS_END
ssl_certificate /www/server/panel/vhost/cert/solutions.de/fullchain.pem;
ssl_certificate_key /www/server/panel/vhost/cert/solutions.de/privkey.pem;
ssl_protocols TLSv1.1 TLSv1.2 TLSv1.3;
ssl_ciphers ECDHE-RSA-AES128-GCM-SHA256:HIGH:!aNULL:!MD5:!RC4:!DHE;
ssl_prefer_server_ciphers on;
ssl_session_cache shared:SSL:10m;
ssl_session_timeout 10m;
error_page 497 https://$host$request_uri;
#SSL-END
#Directory protection rules, do not manually delete
include /www/server/panel/vhost/nginx/dir_auth/solutions.de/*.conf;
#ERROR-PAGE-START Error page configuration, allowed to be commented, deleted or modified
#error_page 404 /404.html;
#error_page 502 /502.html;
#ERROR-PAGE-END
#PHP-INFO-START PHP reference configuration, allowed to be commented, deleted or modified
##SECURITY-START Hotlink protection configuration
location ~ .*\.(jpg|jpeg|gif|png|js|css)$
{
expires 30d;
access_log off;
valid_referers none blocked aapan.solutions.de solutions.de *.solutions.de;
if ($invalid_referer){
return 404;
}
}
#SECURITY-END
include enable-php-73.conf;
#PHP-INFO-END
#REWRITE-START URL rewrite rule reference, any modification will invalidate the rewrite rules set by the panel
include /www/server/panel/vhost/rewrite/solutions.de.conf;
#REWRITE-END
# Forbidden files or directories
location ~ ^/(\.user.ini|\.htaccess|\.git|\.svn|\.project|LICENSE|README.md)
{
return 404;
}
# Directory verification related settings for one-click application for SSL certificate
location ~ \.well-known{
allow all;
}
location ~ .*\.(gif|jpg|jpeg|png|bmp|swf)$
{
expires 30d;
error_log on;
access_log on;
}
location ~ .*\.(js|css)?$
{
expires 12h;
error_log on;
access_log on;
}
access_log /www/wwwlogs/solutions.de.log;
error_log /www/wwwlogs/solutions.de.error.log;