• The BIND DNS server has already been deprecated and removed from Plesk for Windows.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS. We strongly recommend transitioning to Microsoft DNS within the next 6 weeks, before the Plesk 18.0.70 release.
  • The Horde component is removed from Plesk Installer. We recommend switching to another webmail software supported in Plesk.

Issue Browser Caching dont working

Marcseeber

New Pleskian
i use this

gzip on;
gzip_disable "msie6";
gzip_vary on;
gzip_proxied any;
gzip_comp_level 6;
gzip_buffers 16 8k;
gzip_http_version 1.1;
gzip_types text/plain text/css application/json application/x-javascript text/xml application/xml application/xml+rss text/javascript application/javascript image/svg+xml application/x-font-ttf font/opentype;
location ~* \.(jpg|png|gif|jpeg|css|js)$ {
Expires 1h;
add_header Pragma public;
add_header Cache-Control "public";
}

all Picture and css have error 500 Header
 
nginx: [emerg] "gzip" directive is duplicate in /etc/nginx/conf.d/gzip.conf:1
nginx: configuration file /etc/nginx/nginx.conf test failed
________________________________________________________

#user nginx;
worker_processes 1;
#error_log /var/log/nginx/error.log;
#error_log /var/log/nginx/error.log notice;
#error_log /var/log/nginx/error.log info;
#pid /var/run/nginx.pid;
include /etc/nginx/modules.conf.d/*.conf;
events {
worker_connections 1024;
}

http {
include mime.types;
default_type application/octet-stream;
#log_format main '$remote_addr - $remote_user [$time_local] "$request" '
# '$status $body_bytes_sent "$http_referer" '
# '"$http_user_agent" "$http_x_forwarded_for"';
#access_log /var/log/nginx/access.log main;
sendfile on;
#tcp_nopush on;
#keepalive_timeout 0;
keepalive_timeout 65;
#tcp_nodelay on;
gzip on;
gzip_disable "MSIE [1-6]\.(?!.*SV1)";
server_tokens off;
include /etc/nginx/conf.d/*.conf;
}
# override global parameters e.g. worker_rlimit_nofile
include /etc/nginx/*global_params;
 
Last edited:
gzip options can be duplicated in /etc/nginx/nginx.conf
Check it.
 
gzip on;
gzip_disable "MSIE [1-6]\.(?!.*SV1)";

remove form the nginx.conf

and testet


nginx: [emerg] "worker_processes" directive is not allowed here in /etc/nginx/conf.d/gzip.conf:1
nginx: configuration file /etc/nginx/nginx.conf test failed
 
Try to remove /etc/nginx/conf.d/gzip.conf and add necessary parameters for gzip directly to /etc/nginx/nginx.conf
 
http://www.metasearch.eu/?q=reisen

css and Picture don't working

http://www.metasearch.eu/php.PNG

error

http://www.seebi.net/php.PNG


remove this form .htaccess

all working

gzip on;
gzip_disable "msie6";
gzip_vary on;
gzip_proxied any;
gzip_comp_level 6;
gzip_buffers 16 8k;
gzip_http_version 1.1;
gzip_types text/plain text/css application/json application/x-javascript text/xml application/xml application/xml+rss text/javascript application/javascript image/svg+xml application/x-font-ttf font/opentype;

location ~* \.(jpg|png|gif|jpeg|css|js)$ {
Expires 1h;
add_header Pragma public;
add_header Cache-Control "public";
}


Browser Caching disable and not working
 
Last edited:
Back
Top