Removal of Subdomain Nginx Image Pagespeed Configuration Code from Templates

This commit is contained in:
earnolmartin 2024-01-30 18:14:06 -07:00
parent 56c5fdab11
commit b20b4996f0
5 changed files with 2 additions and 36 deletions

View file

@ -2245,7 +2245,8 @@ organizationalUnitName = $unit_name";
if ($continue) {
$success = $success && $this->executeQuery("update " . $this->conf['subdomainstable']['tablename'] . " set $templatefield='" . $$templatefield . "' where domainname='" . $subdomain["domainname"] . "' AND subdomain ='" . $subdomain["subdomain"] . "' AND id ='" . $id . "'");
$success = $success && $this->addDaemonOp("syncdomains", 'xx', $subdomain["domainname"]); # sync only domain that is changed. not all domains...
$this->ok_err_text($success, "Subdomain template modifications were successfully saved and stored in the database.", "Failed to save subdomain template modifications.");
$editAgainLink = '<a href="?op=editapachetemplatesubdomain&id=' . $id . '">Edit Subdomain Template Again</a>';
$this->ok_err_text($success, "Subdomain template modifications were successfully saved and stored in the database." . '<br>' . $editAgainLink, "Failed to save subdomain template modifications.");
}
}
}

View file

@ -31,13 +31,6 @@ server {
limit_req zone=one burst=5;
}
## Images and static content is treated different
location ~* ^.+.(jpg|jpeg|gif|css|png|js|ico|xml|swf)$ {
access_log off;
expires 30d;
root {homedir};
}
location /.well-known {
auth_basic off;
allow all; # Allow all to see content

View file

@ -31,13 +31,6 @@ server {
limit_req zone=one burst=5;
}
## Images and static content is treated different
location ~* ^.+.(jpg|jpeg|gif|css|png|js|ico|xml|swf)$ {
access_log off;
expires 30d;
root {homedir};
}
location /.well-known {
auth_basic off;
allow all; # Allow all to see content

View file

@ -31,13 +31,6 @@ server {
limit_req zone=one burst=5;
}
## Images and static content is treated different
location ~* ^.+.(jpg|jpeg|gif|css|png|js|ico|xml|swf)$ {
access_log off;
expires 30d;
root {homedir};
}
location /.well-known {
auth_basic off;
allow all; # Allow all to see content
@ -83,13 +76,6 @@ server {
limit_req zone=one burst=5;
}
## Images and static content is treated different
location ~* ^.+.(jpg|jpeg|gif|css|png|js|ico|xml|swf)$ {
access_log off;
expires 30d;
root {homedir};
}
location /.well-known {
auth_basic off;
allow all; # Allow all to see content

View file

@ -36,13 +36,6 @@ server {
limit_req zone=one burst=5;
}
## Images and static content is treated different
location ~* ^.+.(jpg|jpeg|gif|css|png|js|ico|xml|swf)$ {
access_log off;
expires 30d;
root {homedir};
}
location /.well-known {
auth_basic off;
allow all; # Allow all to see content