Commit 4cdfd1b6 authored by Ben Hayward's avatar Ben Hayward
Browse files

Updated nginx conf to serve favicon at /favicon.ico

parent ca53ec6a
......@@ -96,6 +96,10 @@ server {
log_not_found off;
}
location = /favicon.ico {
alias /var/www/Minds/front/dist/browser/en/assets/favicon.ico;
}
location ~ ^(/api|/fs|/icon|/carousel|/emails/unsubscribe) {
add_header 'Access-Control-Allow-Origin' "$http_origin";
add_header 'Access-Control-Allow-Credentials' 'true';
......
......@@ -40,6 +40,10 @@ server {
proxy_set_header X-Forwarded-Proto $scheme;
}
location = /favicon.ico {
alias /var/www/Minds/front/dist/browser/en/assets/favicon.ico;
}
location ~ ^(/api|/fs|/icon|/carousel|/emails/unsubscribe) {
add_header 'Access-Control-Allow-Origin' "$http_origin";
add_header 'Access-Control-Allow-Credentials' 'true';
......
......@@ -95,6 +95,10 @@ server {
proxy_read_timeout 5s; # Longer than 5 seconds then go back to nossr
}
location = /favicon.ico {
alias /var/www/Minds/front/dist/browser/en/assets/favicon.ico;
}
location ~ ^(/api|/fs|/icon|/carousel|/checkout|/oauth2|/archive/thumbnail|/apple-app-site-association|/emails/unsubscribe) {
add_header Strict-Transport-Security "max-age=31536000; includeSubdomains; preload";
add_header 'Access-Control-Allow-Origin' "$http_origin";
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment