Azurel
Silver Pleskian
User name: Azurel
TITLE
Apache/nginx directives not working anymore?!
PRODUCT, VERSION, OPERATING SYSTEM, ARCHITECTURE
CentOS Linux 8.2.2004, Plesk Obsidian Version 18.0.29 Update #3
PROBLEM DESCRIPTION
Before migrate to new server, this should all working fine. Now, here is nothing really working.
#1
I have in one subdomain disabled nginx static file processing
See Image
All requests continue to go through nginx, not apache. access_ssl_log is always 0 Byte!
#2
In apache this is not working
#3
I have enabled static file processing for nginx and this is not working
Set "deny all;" in "Additional nginx directives" stops all requests. So this is working! So why its not working with location?
#4
Set custom expire for only css- and js-files not working
Whats happened here?!
STEPS TO REPRODUCE
See description
ACTUAL RESULT
See description
EXPECTED RESULT
See description
ANY ADDITIONAL INFORMATION
I have changed on new server this
Removing the X-Powered-By header => How to remove/modify any header for all websites hosted in Plesk for Linux?
Enable server-wide gzip compression using SSH connection => How to enable gzip compression in Apache on Plesk server?
YOUR EXPECTATIONS FROM PLESK SERVICE TEAM
Confirm bug
TITLE
Apache/nginx directives not working anymore?!
PRODUCT, VERSION, OPERATING SYSTEM, ARCHITECTURE
CentOS Linux 8.2.2004, Plesk Obsidian Version 18.0.29 Update #3
PROBLEM DESCRIPTION
Before migrate to new server, this should all working fine. Now, here is nothing really working.
#1
I have in one subdomain disabled nginx static file processing
See Image
All requests continue to go through nginx, not apache. access_ssl_log is always 0 Byte!
#2
In apache this is not working
I have still access to image files in "images" folder.<LocationMatch "^/images/">
Order allow,deny
Deny from all
</LocationMatch>
#3
I have enabled static file processing for nginx and this is not working
location ~* ^/images/ {
deny all;
}
Set "deny all;" in "Additional nginx directives" stops all requests. So this is working! So why its not working with location?
#4
Set custom expire for only css- and js-files not working
In request header there is no caching. Here too, location is not working.location ~* ^/(.*\.(css|js))$ {
expires 30d;
add_header Cache-Control "public";
}
Whats happened here?!
STEPS TO REPRODUCE
See description
ACTUAL RESULT
See description
EXPECTED RESULT
See description
ANY ADDITIONAL INFORMATION
I have changed on new server this
Removing the X-Powered-By header => How to remove/modify any header for all websites hosted in Plesk for Linux?
Enable server-wide gzip compression using SSH connection => How to enable gzip compression in Apache on Plesk server?
YOUR EXPECTATIONS FROM PLESK SERVICE TEAM
Confirm bug
Last edited: