I have to start working this page http://remin.nextvision.cz/en/ -> my current server block looks like this:
server {
server_name remin.nextvision.cz http://www.remin.nextvision.cz;
root /var/www/remin.nextvision.cz/public;
index index.php index.html index.htm;
# log files
access_log /var/log/nginx/remin.nextvision.cz.access.log;
error_log /var/log/nginx/remin.nextvision.cz.error.log;
location = /favicon.ico {
log_not_found off;
access_log off;
}
location = /robots.txt {
allow all;
log_not_found off;
access_log off;
}
location / {
try_files $uri $uri/ /index.php?$args;
}
location ~ \.php$ {
include snippets/fastcgi-php.conf;
fastcgi_pass unix:/var/run/php/php7.3-fpm.sock;
}
location ~* \.(js|css|png|jpg|jpeg|gif|ico|svg)$ {
expires max;
log_not_found off;
}
}