Update nginx.conf

This commit is contained in:
OSPanel 2024-04-24 18:19:22 +03:00
parent 7754af5938
commit 198bfb963e

View file

@ -68,17 +68,16 @@ map $http_upgrade $connection_upgrade {
map $sent_http_content_type $expires { map $sent_http_content_type $expires {
default 1d; default 1d;
~*application/atom\+xml 1h; ~*application/atom\+xml 1h;
~*application/rdf\+xml 1h;
~*application/rss\+xml 1h; ~*application/rss\+xml 1h;
~*application/json epoch; ~*application/json epoch;
~*application/ld\+json epoch; ~*application/ld\+json epoch;
~*application/schema\+json epoch; ~*application/schema\+json epoch;
~*application/geo\+json epoch; ~*application/geo\+json epoch;
~*application/xml epoch; ~*application/xml epoch;
~*text/calendar epoch; ~*application/manifest\+json epoch;
~*application/x-web-app-manifest\+json epoch;
~*text/cache-manifest epoch;
~*text/html epoch; ~*text/html epoch;
~*text/plain epoch;
~*text/markdown epoch;
} }
map $sent_http_content_type $x_frame_options { map $sent_http_content_type $x_frame_options {