Select Git revision
EditNewsReducer.js
nginx.conf 1005 B
server {
listen 80;
listen [::]:80;
server_name localhost;
root /usr/share/nginx/html;
rewrite ^/wp-content/uploads/2022/02/.* $scheme://$http_host/documents/szabalyzat-2022-1.pdf last;
rewrite ^/[0-9]+/[0-9]+/[0-9]+/(.+) $scheme://$http_host/articles/$1 redirect;
location / {
index index.html index.htm;
# kill cache
add_header Last-Modified $date_gmt;
add_header Cache-Control 'no-store, no-cache';
if_modified_since off;
expires off;
etag off;
}
# Media: images, icons, video, audio, HTC
location ~* \.(?:jpg|jpeg|gif|png|ico|cur|gz|svg|svgz|mp4|ogg|ogv|webm|htc)$ {
expires 1M;
access_log off;
add_header Cache-Control "public";
}
error_page 500 502 503 504 /50x.html;
location = /50x.html {
root /usr/share/nginx/html;
}
error_page 404 /404.html;
location = /404.html {
root /usr/share/nginx/html;
}
}