fixes from rtsk repos
This commit is contained in:
parent
12abacea78
commit
d40d1d47d6
2 changed files with 17 additions and 15 deletions
|
|
@ -57,19 +57,21 @@ server {
|
||||||
index index.html;
|
index index.html;
|
||||||
expires -1;
|
expires -1;
|
||||||
|
|
||||||
# Media: images, icons, video, audio, HTC
|
add_header Content-Security-Policy "frame-ancestors 'none'; default-src 'self'; script-src 'self'; style-src 'unsafe-inline' 'self' data:; font-src 'self' data:; img-src 'self' data:;";
|
||||||
location ~* \.(?:jpg|jpeg|gif|png|ico|cur|gz|svg|svgz|mp4|mp3|ogg|ogv|webm|htc|woff2|woff|ttf)$ {
|
|
||||||
expires 1M;
|
# Media: images, icons, video, audio, HTC
|
||||||
access_log off;
|
location ~* \.(?:jpg|jpeg|gif|png|ico|cur|gz|svg|svgz|mp4|mp3|ogg|ogv|webm|htc|woff2|woff|ttf)$ {
|
||||||
# max-age must be in seconds
|
expires 1M;
|
||||||
add_header Cache-Control "max-age=2629746, public";
|
access_log off;
|
||||||
}
|
# max-age must be in seconds
|
||||||
# CSS and Javascript
|
add_header Cache-Control "max-age=2629746, public";
|
||||||
location ~* \.(?:css|js)$ {
|
}
|
||||||
expires 1y;
|
# CSS and Javascript
|
||||||
access_log off;
|
location ~* \.(?:css|js)$ {
|
||||||
add_header Cache-Control "max-age=31556952, public";
|
expires 1y;
|
||||||
}
|
access_log off;
|
||||||
|
add_header Cache-Control "max-age=31556952, public";
|
||||||
|
}
|
||||||
|
|
||||||
ssi on;
|
ssi on;
|
||||||
set $flUrl "${LKRP_FL_URL}";
|
set $flUrl "${LKRP_FL_URL}";
|
||||||
|
|
|
||||||
|
|
@ -13,7 +13,7 @@
|
||||||
|
|
||||||
<div class="header">
|
<div class="header">
|
||||||
<div class="header-logo"></div>
|
<div class="header-logo"></div>
|
||||||
<div class="header-title">Военный комиссариат Министерства обороны Российской Федерации</div>
|
<div class="header-title">Реестр повесток Российской Федерации</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="container">
|
<div class="container">
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue