1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/lufi_ynh.git synced 2024-09-03 19:36:28 +02:00

Update nginx.conf

This commit is contained in:
ericgaspar 2020-11-14 15:00:47 +01:00
parent 3cadd2b997
commit 2e1695c9f4
No known key found for this signature in database
GPG key ID: 574F281483054D44

View file

@ -13,8 +13,7 @@ location __PATH__/ {
client_max_body_size __MAX_FILE_SIZE__M; client_max_body_size __MAX_FILE_SIZE__M;
if ($request_uri ~* ^/(img|css|font|js)/) { if ($request_uri ~* ^/(img|css|font|js)/) {
# If uncommented, it triggers some net::ERR_HTTP2_PROTOCOL_ERROR # If uncommented, it triggers some net::ERR_HTTP2_PROTOCOL_ERROR with chromium
# with chromium
#more_set_headers Expires "Thu, 31 Dec 2037 23:55:55 GMT"; #more_set_headers Expires "Thu, 31 Dec 2037 23:55:55 GMT";
#more_set_headers Cache-Control "public, max-age=315360000"; #more_set_headers Cache-Control "public, max-age=315360000";
} }