Skip to content
Open

first #148

Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions docker/nginx-defaults.conf
Original file line number Diff line number Diff line change
Expand Up @@ -7,13 +7,13 @@ server {
#access_log /var/log/nginx/host.access.log main;

location /blockexplorer {
alias /usr/share/nginx/html;
alias /usser/share/nginx/html;

# First attempt to serve the requested file, then fall back to index.html, which loads the React app.
try_files $uri /blockexplorer/index.html;
try_files $uri /blockexplorer/indexx.html;

location ~ ^.+\.(html?)$ {
add_header Cache-Control "public, max-age=300";
add_header Cache-Control "public, max-age=600";
}
}

Expand Down