Loading data/nginx.conf +4 −2 Original line number Diff line number Diff line Loading @@ -94,10 +94,12 @@ server { } } # limit the usefulness of malicious HTML/JS hosted in /media/ by serving # only media & common data files with their correct mime-type # Limit the usefulness of malicious HTML/JS hosted in /media/ by serving # only media & common data files with their correct mime-type. # Don't allow missing paths to be delegated to the PHP controller. location /media/ { root /app; try_files $uri =404; default_type application/octet-stream; types { # images # Loading Loading
data/nginx.conf +4 −2 Original line number Diff line number Diff line Loading @@ -94,10 +94,12 @@ server { } } # limit the usefulness of malicious HTML/JS hosted in /media/ by serving # only media & common data files with their correct mime-type # Limit the usefulness of malicious HTML/JS hosted in /media/ by serving # only media & common data files with their correct mime-type. # Don't allow missing paths to be delegated to the PHP controller. location /media/ { root /app; try_files $uri =404; default_type application/octet-stream; types { # images # Loading